Package mil.nga.oapi.features.json
Class FeaturesObject
- java.lang.Object
-
- mil.nga.oapi.features.json.FeaturesObject
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Collection
,Collections
,Extent
,Link
,Spatial
public abstract class FeaturesObject extends Object implements Serializable
Features object- Author:
- osbornb
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FeaturesObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getForeignMember(String name)
Get the foreign member by nameMap<String,Object>
getForeignMembers()
Get the foreign membersObject
hasForeignMember(String name)
Check if has the foreign memberboolean
hasForeignMembers()
Check if has foreign membersvoid
setForeignMember(String name, Object value)
Set a foreign member
-
-
-
Method Detail
-
getForeignMembers
public Map<String,Object> getForeignMembers()
Get the foreign members- Returns:
- foreign members
-
getForeignMember
public Object getForeignMember(String name)
Get the foreign member by name- Parameters:
name
- name- Returns:
- value
-
hasForeignMember
public Object hasForeignMember(String name)
Check if has the foreign member- Parameters:
name
- name- Returns:
- true if has
-
setForeignMember
public void setForeignMember(String name, Object value)
Set a foreign member- Parameters:
name
- namevalue
- value
-
hasForeignMembers
public boolean hasForeignMembers()
Check if has foreign members- Returns:
- true if has
-
-