-
- All Superinterfaces:
AttributeCollection
,AttributeProvider
,Cloneable
,GISPrimitive
,JsonableObject
,Serializable
- All Known Subinterfaces:
BoundedGISElement
,BusPrimitive<CONTAINER>
,GISContentElement<C>
,RoadNetwork
- All Known Implementing Classes:
AbstractBoundedGISElement
,AbstractBusContainer
,AbstractBusPrimitive
,AbstractGISElement
,ArrayMapElementLayer
,BusHub
,BusItinerary
,BusItineraryHalt
,BusItineraryLayer
,BusLine
,BusLineLayer
,BusNetwork
,BusNetworkLayer
,BusStop
,GridMapElementLayer
,MapCircle
,MapComposedElement
,MapElement
,MapElementLayer
,MapLayer
,MapMultiPoint
,MapPoint
,MapPolygon
,MapPolyline
,MapPonctualElement
,MultiMapLayer
,RoadNetworkLayer
,RoadPolyline
,StandardRoadNetwork
,TreeMapElementLayer
public interface GISElement extends GISPrimitive, AttributeCollection
Element of a GIS application.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:53
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- giscore
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_NAME
Attribute: name of the element.static Comparator<GISElement>
NAME_COMPARATOR
A name-base comparator of attribute containers.-
Fields inherited from interface org.arakhne.afc.gis.primitive.GISPrimitive
COMPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GISElement
clone()
Make a deep copy of this object and replies the copy.int
copyAttributes(GISElement container)
Copy all the attributes of the specified container.String
getName()
Replies the name of the element.String
hashKey()
Replies a string suitable for hashtables.void
setName(String name)
Set the name of the element.-
Methods inherited from interface org.arakhne.afc.attrs.collection.AttributeCollection
addAttributeChangeListener, addAttributes, addAttributes, flush, isEventFirable, removeAllAttributes, removeAttribute, removeAttributeChangeListener, renameAttribute, renameAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setAttributeType, setEventFirable
-
Methods inherited from interface org.arakhne.afc.attrs.collection.AttributeProvider
attributes, freeMemory, getAllAttributeNames, getAllAttributes, getAllAttributesByType, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttributeAsBool, getAttributeAsDate, getAttributeAsDouble, getAttributeAsEnumeration, getAttributeAsEnumeration, getAttributeAsFloat, getAttributeAsInetAddress, getAttributeAsInt, getAttributeAsJavaClass, getAttributeAsLong, getAttributeAsString, getAttributeAsURI, getAttributeAsURL, getAttributeAsUUID, getAttributeCount, getAttributeObject, hasAttribute, toMap, toMap
-
Methods inherited from interface org.arakhne.afc.gis.primitive.GISPrimitive
getGeoId, getGeoLocation, getUUID
-
Methods inherited from interface org.arakhne.afc.vmutil.json.JsonableObject
toJson
-
-
-
-
Field Detail
-
NAME_COMPARATOR
static final Comparator<GISElement> NAME_COMPARATOR
A name-base comparator of attribute containers.The returned comparator use the function
getName()
to make the comparison.
-
ATTR_NAME
static final String ATTR_NAME
Attribute: name of the element.- See Also:
- Constant Field Values
-
-
Method Detail
-
clone
@Pure GISElement clone()
Description copied from interface:AttributeCollection
Make a deep copy of this object and replies the copy.- Specified by:
clone
in interfaceAttributeCollection
- Specified by:
clone
in interfaceAttributeProvider
- Returns:
- the deep copy.
-
copyAttributes
int copyAttributes(GISElement container)
Copy all the attributes of the specified container.- Parameters:
container
- is the object from which the attributes must be extracted.- Returns:
- count of copied attributes
-
hashKey
@Pure String hashKey()
Replies a string suitable for hashtables.- Returns:
- a string suitable for hashtables.
-
getName
@Pure String getName()
Replies the name of the element.- Returns:
- the name
-
setName
void setName(String name)
Set the name of the element.- Parameters:
name
- the new name.
-
-