Module org.arakhne.afc.gis.giscore
Package org.arakhne.afc.gis.primitive
Interface GISContentElement<C extends GISContainer<?>>
-
- Type Parameters:
C
- is the type of the container of this object.
- All Superinterfaces:
AttributeCollection
,AttributeProvider
,Cloneable
,GISElement
,GISPrimitive
,JsonableObject
,Serializable
- All Known Implementing Classes:
ArrayMapElementLayer
,BusItineraryLayer
,BusLineLayer
,BusNetworkLayer
,GridMapElementLayer
,MapCircle
,MapComposedElement
,MapElement
,MapElementLayer
,MapLayer
,MapMultiPoint
,MapPoint
,MapPolygon
,MapPolyline
,MapPonctualElement
,MultiMapLayer
,RoadNetworkLayer
,RoadPolyline
,TreeMapElementLayer
public interface GISContentElement<C extends GISContainer<?>> extends GISElement
GIS Element that known it is contained inside a GISContainer.- 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 inherited from interface org.arakhne.afc.gis.primitive.GISElement
ATTR_NAME, NAME_COMPARATOR
-
Fields inherited from interface org.arakhne.afc.gis.primitive.GISPrimitive
COMPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description C
getContainer()
Replies the object which contains this MapElement.Object
getTopContainer()
Replies the top-most object which contains this element.boolean
setContainer(C container)
Sets the container of this MapElement.-
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.GISElement
clone, copyAttributes, getName, hashKey, setName
-
Methods inherited from interface org.arakhne.afc.gis.primitive.GISPrimitive
getGeoId, getGeoLocation, getUUID
-
Methods inherited from interface org.arakhne.afc.vmutil.json.JsonableObject
toJson
-
-
-
-
Method Detail
-
setContainer
boolean setContainer(C container)
Sets the container of this MapElement.- Parameters:
container
- the new container.- Returns:
- the success state of the operation.
-
getContainer
@Pure C getContainer()
Replies the object which contains this MapElement.- Returns:
- the container or
null
-
getTopContainer
@Pure Object getTopContainer()
Replies the top-most object which contains this element.- Returns:
- the top container or
null
-
-