Class AbstractBusPrimitive<CONTAINER extends BusContainer<?>>
- java.lang.Object
-
- org.arakhne.afc.gis.primitive.AbstractGISElement<C,T>
-
- org.arakhne.afc.gis.primitive.AbstractBoundedGISElement<CONTAINER,AbstractBusPrimitive<CONTAINER>>
-
- org.arakhne.afc.gis.bus.network.AbstractBusPrimitive<CONTAINER>
-
- Type Parameters:
CONTAINER- is the type of the object which could contains a instance of this class.
- All Implemented Interfaces:
Serializable,Cloneable,EventListener,AttributeChangeListener,AttributeCollection,AttributeProvider,BusPrimitive<CONTAINER>,BoundedGISElement,FlagContainer,GISCloneable<AbstractBusPrimitive<CONTAINER>>,GISEditable,GISElement,GISFlagContainer,GISPrimitive,BoundedElement2afp<Rectangle2d>,JsonableObject
- Direct Known Subclasses:
AbstractBusContainer,BusHub,BusItineraryHalt,BusStop
public abstract class AbstractBusPrimitive<CONTAINER extends BusContainer<?>> extends AbstractBoundedGISElement<CONTAINER,AbstractBusPrimitive<CONTAINER>> implements BusPrimitive<CONTAINER>
A bus stop is a specific stop of an itinerary. It is situated on a road segment.Validation
Validity state of the bus primitive depends on the type of that primitive. By default, all bus primitives are invalid. They must implement thecheckPrimitiveValidity()to verify if the current validity state is correct and change it if necessary.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:56
- Author:
- Stéphane GALLAND
- See Also:
- Serialized Form
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- gisbus
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_COLORAttribute: color of the element.static intDEFAULT_COLORDefault color of a map element.-
Fields inherited from interface org.arakhne.afc.gis.primitive.FlagContainer
FLAG_READONLY, FLAG_SELECTED
-
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
-
-
Constructor Summary
Constructors Constructor Description AbstractBusPrimitive(UUID id, AttributeCollection attributeProvider)Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddBusChangeListener(BusChangeListener listener)Add listener.voidaddGISEditableChangeListener(GISEditableChangeListener listener)Add listener.protected <T extends EventListener>
voidaddListener(Class<T> listenerType, T listener)Add a listener.protected abstract voidcheckPrimitiveValidity()Check if the validity of this primitive is correctly set and change its values if necessary.protected voidfinalize()Deprecated, for removal: This API element is subject to removal in a future version.voidfireGraphicalAttributeChanged(String propertyName, Object oldValue, Object newValue)Invoked when one of the graphical attributes of this element has changed, except those that change the bounding boxes.voidfireGraphicalAttributeChanged(BusChangeEvent event)Invoked when one of the graphical attributes of this element has changed, except those that change the bounding boxes.protected voidfirePrimitiveChanged()Fire the event that indicates this object has changed.protected voidfirePrimitiveChanged(String propertyName, Object oldValue, Object newValue)Fire the event that indicates this object has changed.voidfirePrimitiveChanged(BusChangeEvent event)Fire the event that indicates this object has changed.voidfireShapeChanged()Invoked when the shape of this element changed.voidfireShapeChanged(BusChangeEvent event)Invoked when the shape of this element changed.protected voidfireValidityChanged(BusPrimitiveInvalidity oldReason, BusPrimitiveInvalidity newReason)Fire the event that indicates the validity of the object has changed.protected voidfireValidityChangedFor(Object changedObject, int index, BusPrimitiveInvalidity oldReason, BusPrimitiveInvalidity newReason)Fire the event that indicates the validity of the object has changed.intgetColor()Replies the color of this element or the color of the container.intgetColor(int defaultColor)Replies the color of this element or the color of the container.intgetFlags()Replies the flags associated to this element.GeoLocationgetGeoLocation()Replies the geo-location.BusPrimitiveInvaliditygetInvalidityReason()Replies the explanation of the invalidity of the primitive.IntegergetRawColor()Replies the color stored inside this element.booleanhasFlag(int flagIndex)Replies if the specified flag is set for this element.abstract intindexInParent()Replies the index of this primitive in its parent.booleanisReadOnlyObject()Replies if this editable object want to be seen as a reed-only object.booleanisValidPrimitive()Replies if this primitive is marked as valid.protected voidonAttributeChanged(String name)This function is invoked by the attribute provider each time an attribute has changed.voidrebuild()Rebuild the primitive and all the primitive inside.voidremoveBusChangeListener(BusChangeListener listener)Remove listener.voidremoveGISEditableChangeListener(GISEditableChangeListener listener)Remove listener.protected <T extends EventListener>
voidremoveListener(Class<T> listenerType, T listener)Remove a listener.voidrevalidate()Check if the validity of this primitive is correctly set and change its values if necessary.voidsetColor(int color)Set the color of this element.voidsetFlag(int flag)Set the flag.protected voidsetPrimitiveValidity(BusPrimitiveInvalidity invalidityReason)Set if this component has invalid or not.voidsetReadOnlyObject(boolean readOnly)Set if this editable object want to be seen as a reed-only object.voidsetUUID(UUID id)Set the unique identifier for element.voidswitchFlag(int flagIndex)Switch the value of the specified flag on this element.voidtoJson(JsonBuffer buffer)Replies the Json representation of this node.voidunsetFlag(int flagIndex)Unset the flag.-
Methods inherited from class org.arakhne.afc.gis.primitive.AbstractBoundedGISElement
calcBounds, clone, getBoundingBox, resetBoundingBox, setBoundingBox
-
Methods inherited from class org.arakhne.afc.gis.primitive.AbstractGISElement
addAttributeChangeListener, addAttributes, addAttributes, attributes, copyAttributes, flush, 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, getAttributeCollection, getAttributeCount, getAttributeObject, getAttributeProvider, getContainer, getGeoId, getName, getTopContainer, getUUID, hasAttribute, hashKey, isEventFirable, onAttributeChangeEvent, removeAllAttributes, removeAttribute, removeAttributeChangeListener, renameAttribute, renameAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setAttributeType, setContainer, setEventFirable, setName, toMap, toMap, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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.math.geometry.d2.afp.BoundedElement2afp
getBoundingBox
-
Methods inherited from interface org.arakhne.afc.gis.primitive.BoundedGISElement
getShape, resetBoundingBox
-
Methods inherited from interface org.arakhne.afc.gis.bus.network.BusPrimitive
getBusNetwork, rebuild
-
Methods inherited from interface org.arakhne.afc.gis.primitive.GISEditable
getName, setName
-
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, getUUID
-
-
-
-
Field Detail
-
ATTR_COLOR
public static final String ATTR_COLOR
Attribute: color of the element.- See Also:
- Constant Field Values
-
DEFAULT_COLOR
public static final int DEFAULT_COLOR
Default color of a map element.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractBusPrimitive
AbstractBusPrimitive(UUID id, AttributeCollection attributeProvider)
Constructor.- Parameters:
id- is the unique identifier of this element, ornullif unknown.attributeProvider- is the provider of attributes used by this bus stop.- Since:
- 2.0
-
-
Method Detail
-
finalize
@Deprecated(since="17.0", forRemoval=true) protected void finalize() throws Throwable
Deprecated, for removal: This API element is subject to removal in a future version.
-
onAttributeChanged
protected void onAttributeChanged(String name)
This function is invoked by the attribute provider each time an attribute has changed.You should override this method to provide several feedback to the BusPrimitive for instance.
- Parameters:
name- is the name of the attribute that changed
-
addListener
protected final <T extends EventListener> void addListener(Class<T> listenerType, T listener)
Add a listener.- Type Parameters:
T- is the type of listener to add.- Parameters:
listenerType- is the type of listener to add.listener- is the new listener.
-
removeListener
protected final <T extends EventListener> void removeListener(Class<T> listenerType, T listener)
Remove a listener.- Type Parameters:
T- is the type of listener to add.- Parameters:
listenerType- is the type of listener to remove.listener- is the new listener.
-
addGISEditableChangeListener
public void addGISEditableChangeListener(GISEditableChangeListener listener)
Description copied from interface:GISEditableAdd listener.- Specified by:
addGISEditableChangeListenerin interfaceBusPrimitive<CONTAINER extends BusContainer<?>>- Specified by:
addGISEditableChangeListenerin interfaceGISEditable- Parameters:
listener- the listener.
-
removeGISEditableChangeListener
public void removeGISEditableChangeListener(GISEditableChangeListener listener)
Description copied from interface:GISEditableRemove listener.- Specified by:
removeGISEditableChangeListenerin interfaceBusPrimitive<CONTAINER extends BusContainer<?>>- Specified by:
removeGISEditableChangeListenerin interfaceGISEditable- Parameters:
listener- the listener.
-
addBusChangeListener
public void addBusChangeListener(BusChangeListener listener)
Description copied from interface:BusPrimitiveAdd listener.- Specified by:
addBusChangeListenerin interfaceBusPrimitive<CONTAINER extends BusContainer<?>>- Parameters:
listener- the listener.
-
removeBusChangeListener
public void removeBusChangeListener(BusChangeListener listener)
Description copied from interface:BusPrimitiveRemove listener.- Specified by:
removeBusChangeListenerin interfaceBusPrimitive<CONTAINER extends BusContainer<?>>- Parameters:
listener- the listener.
-
indexInParent
@Pure public abstract int indexInParent()
Replies the index of this primitive in its parent.- Returns:
- the index of this primitive in its parent.
-
firePrimitiveChanged
protected final void firePrimitiveChanged()
Fire the event that indicates this object has changed.
-
firePrimitiveChanged
protected final void firePrimitiveChanged(String propertyName, Object oldValue, Object newValue)
Fire the event that indicates this object has changed.- Parameters:
propertyName- is the name of the graphical property.oldValue- is the old value of the property.newValue- is the new value of the property.
-
firePrimitiveChanged
public void firePrimitiveChanged(BusChangeEvent event)
Description copied from interface:BusPrimitiveFire the event that indicates this object has changed.- Specified by:
firePrimitiveChangedin interfaceBusPrimitive<CONTAINER extends BusContainer<?>>- Parameters:
event- the event
-
fireValidityChanged
protected final void fireValidityChanged(BusPrimitiveInvalidity oldReason, BusPrimitiveInvalidity newReason)
Fire the event that indicates the validity of the object has changed.- Parameters:
oldReason- is the old invalidity reason before the change.newReason- is the current invalidity reason after the change.
-
fireValidityChangedFor
protected void fireValidityChangedFor(Object changedObject, int index, BusPrimitiveInvalidity oldReason, BusPrimitiveInvalidity newReason)
Fire the event that indicates the validity of the object has changed.- Parameters:
changedObject- is the object for which the validity has changed.index- is the index of the changedObject in its parent.oldReason- is the old invalidity reason before the change.newReason- is the current invalidity reason after the change.
-
fireGraphicalAttributeChanged
public void fireGraphicalAttributeChanged(String propertyName, Object oldValue, Object newValue)
Invoked when one of the graphical attributes of this element has changed, except those that change the bounding boxes.This function does not call
BoundedGISElement.resetBoundingBox().In the implementation of a MapElement, prefers to call
fireGraphicalAttributeChanged()orBusPrimitive.fireShapeChanged()instead ofBoundedGISElement.resetBoundingBox().If the attributes that change concern the shape (bounding box) of the element, prefers an invocation of
BusPrimitive.fireShapeChanged()instead offireGraphicalAttributeChanged()- Specified by:
fireGraphicalAttributeChangedin interfaceBusPrimitive<CONTAINER extends BusContainer<?>>- Parameters:
propertyName- is the name of the graphical property.oldValue- is the old value of the property.newValue- is the new value of the property.
-
fireGraphicalAttributeChanged
public void fireGraphicalAttributeChanged(BusChangeEvent event)
Description copied from interface:BusPrimitiveInvoked when one of the graphical attributes of this element has changed, except those that change the bounding boxes.This function does not call
BoundedGISElement.resetBoundingBox().In the implementation of a MapElement, prefers to call
fireGraphicalAttributeChanged()orBusPrimitive.fireShapeChanged()instead ofBoundedGISElement.resetBoundingBox().If the attributes that change concern the shape (bounding box) of the element, prefers an invocation of
BusPrimitive.fireShapeChanged()instead offireGraphicalAttributeChanged()- Specified by:
fireGraphicalAttributeChangedin interfaceBusPrimitive<CONTAINER extends BusContainer<?>>- Parameters:
event- the event.
-
fireShapeChanged
public void fireShapeChanged()
Description copied from interface:BusPrimitiveInvoked when the shape of this element changed.This method also reset the bounding box to allow its re-computation (with a call to
BoundedGISElement.resetBoundingBox().In the implementation of a BusPrimitive, prefers to call
BusPrimitive.fireGraphicalAttributeChanged(String, Object, Object)orfireShapeChanged()instead ofBoundedGISElement.resetBoundingBox().If the attributes that change does not concern the shape (bounding box) of the element, prefers an invocation of
BusPrimitive.fireGraphicalAttributeChanged(String, Object, Object)instead offireShapeChanged()- Specified by:
fireShapeChangedin interfaceBusPrimitive<CONTAINER extends BusContainer<?>>
-
fireShapeChanged
public void fireShapeChanged(BusChangeEvent event)
Description copied from interface:BusPrimitiveInvoked when the shape of this element changed.This method also reset the bounding box to allow its re-computation (with a call to
BoundedGISElement.resetBoundingBox().In the implementation of a BusPrimitive, prefers to call
BusPrimitive.fireGraphicalAttributeChanged(String, Object, Object)orfireShapeChanged()instead ofBoundedGISElement.resetBoundingBox().If the attributes that change does not concern the shape (bounding box) of the element, prefers an invocation of
BusPrimitive.fireGraphicalAttributeChanged(String, Object, Object)instead offireShapeChanged()- Specified by:
fireShapeChangedin interfaceBusPrimitive<CONTAINER extends BusContainer<?>>- Parameters:
event- the event.
-
setUUID
public void setUUID(UUID id)
Description copied from class:AbstractGISElementSet the unique identifier for element.A Unique IDentifier (UID) must be unique for all the object instances.
- Overrides:
setUUIDin classAbstractGISElement<CONTAINER extends BusContainer<?>,AbstractBusPrimitive<CONTAINER extends BusContainer<?>>>- Parameters:
id- is the new identifier
-
getGeoLocation
@Pure public GeoLocation getGeoLocation()
Description copied from interface:GISPrimitiveReplies the geo-location.A GeoLocation is unique according to the geo-location of the element. If two elements have the same points in the same order, or if two elements have the same points in a reverse order, they must have equal GeoLocations.
The following code is always true (where the arguments of the constructors are the list of points of the polyline). It illustrates that for two elements with the same geo-localized points, they have the same geo-location identifier (Geo-Id) and they have different unique ientifier (Uid):
GISElement obj1 = new MapPolyline(100,10,200,30,300,4); GISElement obj2 = new MapPolyline(100,10,200,30,300,4); assert( obj1.getGeoId().equals(obj2.getGeoId()) ); assert( obj2.getGeoId().equals(obj1.getGeoId()) ); assert( ! obj1.getUid().equals(obj2.getUid()) ); assert( ! obj2.getUid().equals(obj1.getUid()) );- Specified by:
getGeoLocationin interfaceGISPrimitive- Returns:
- a location
- See Also:
GISPrimitive.getGeoId(),GISPrimitive.getGeoLocation()
-
getColor
@Pure public int getColor()
Replies the color of this element or the color of the container.- Specified by:
getColorin interfaceGISEditable- Returns:
- the color
- See Also:
getRawColor()
-
getColor
@Pure public int getColor(int defaultColor)
Replies the color of this element or the color of the container.- Parameters:
defaultColor- the default color.- Returns:
- the color
- See Also:
getRawColor()
-
getRawColor
@Pure public Integer getRawColor()
Description copied from interface:GISEditableReplies the color stored inside this element.- Specified by:
getRawColorin interfaceGISEditable- Returns:
- the color of this element, or
null.
-
setColor
public void setColor(int color)
Description copied from interface:GISEditableSet the color of this element.- Specified by:
setColorin interfaceGISEditable- Parameters:
color- the new color
-
isReadOnlyObject
@Pure public boolean isReadOnlyObject()
Description copied from interface:GISEditableReplies if this editable object want to be seen as a reed-only object.Even if this object replies
true, it is possible to change its attributes. The value replied by this function is just a desire from this object. It could be used by the GUI to allow edition or not from a graphical component.- Specified by:
isReadOnlyObjectin interfaceGISEditable- Returns:
trueif this object ant to be assumed as read-only, otherwisefalse
-
setReadOnlyObject
public void setReadOnlyObject(boolean readOnly)
Set if this editable object want to be seen as a reed-only object.Even if this object replies
true, it is possible to change its attributes. The value replied by this function is just a desire from this object. It could be used by the GUI to allow edition or not from a graphical component.- Parameters:
readOnly- the flag.
-
getFlags
@Pure public int getFlags()
Description copied from interface:FlagContainerReplies the flags associated to this element.The flag could be predefined (eg.
FlagContainer.FLAG_SELECTED, or user defined.- Specified by:
getFlagsin interfaceFlagContainer- Returns:
- the flags
- See Also:
FlagContainer.FLAG_SELECTED,FlagContainer.hasFlag(int),FlagContainer.setFlag(int),FlagContainer.unsetFlag(int)
-
hasFlag
@Pure public boolean hasFlag(int flagIndex)
Description copied from interface:FlagContainerReplies if the specified flag is set for this element.The flag could be predefined (eg.
FlagContainer.FLAG_SELECTED, or user defined.- Specified by:
hasFlagin interfaceFlagContainer- Parameters:
flagIndex- is the index of the flag- Returns:
trueif the flag was set, otherwisefalse- See Also:
FlagContainer.FLAG_SELECTED,FlagContainer.getFlags(),FlagContainer.setFlag(int),FlagContainer.unsetFlag(int)
-
switchFlag
public void switchFlag(int flagIndex)
Description copied from interface:FlagContainerSwitch the value of the specified flag on this element.The flag could be predefined (eg.
FlagContainer.FLAG_SELECTED, or user defined.- Specified by:
switchFlagin interfaceFlagContainer- Parameters:
flagIndex- is the index of the flag- See Also:
FlagContainer.FLAG_SELECTED,FlagContainer.getFlags(),FlagContainer.setFlag(int),FlagContainer.unsetFlag(int)
-
setFlag
public void setFlag(int flag)
Description copied from interface:FlagContainerSet the flag.The flag could be predefined (eg.
FlagContainer.FLAG_SELECTED, or user defined.- Specified by:
setFlagin interfaceFlagContainer- Parameters:
flag- is the index of the flag- See Also:
FlagContainer.FLAG_SELECTED,FlagContainer.getFlags(),FlagContainer.hasFlag(int),FlagContainer.unsetFlag(int)
-
unsetFlag
public void unsetFlag(int flagIndex)
Description copied from interface:FlagContainerUnset the flag.The flag could be predefined (eg.
FlagContainer.FLAG_SELECTED, or user defined.- Specified by:
unsetFlagin interfaceFlagContainer- Parameters:
flagIndex- is the index of the flag- See Also:
FlagContainer.FLAG_SELECTED,FlagContainer.getFlags(),FlagContainer.hasFlag(int),FlagContainer.setFlag(int)
-
isValidPrimitive
@Pure public final boolean isValidPrimitive()
Description copied from interface:BusPrimitiveReplies if this primitive is marked as valid.The validity of a primitive depends on the type of this primitive. Please refers to the documentation of that primitive.
- Specified by:
isValidPrimitivein interfaceBusPrimitive<CONTAINER extends BusContainer<?>>- Returns:
trueif the primitive is valid, otherwisefalse
-
setPrimitiveValidity
protected final void setPrimitiveValidity(BusPrimitiveInvalidity invalidityReason)
Set if this component has invalid or not.This function is supposed to be invoked at least from
checkPrimitiveValidity().- Parameters:
invalidityReason- is the reason of the invalidity; ifnullthe primitive is valid.
-
getInvalidityReason
@Pure public final BusPrimitiveInvalidity getInvalidityReason()
Description copied from interface:BusPrimitiveReplies the explanation of the invalidity of the primitive.- Specified by:
getInvalidityReasonin interfaceBusPrimitive<CONTAINER extends BusContainer<?>>- Returns:
- the invalidity reason.
-
revalidate
public void revalidate()
Description copied from interface:BusPrimitiveCheck if the validity of this primitive is correctly set and change its values if necessary. This function revalidate also all the primitives inside this primitive.- Specified by:
revalidatein interfaceBusPrimitive<CONTAINER extends BusContainer<?>>
-
checkPrimitiveValidity
protected abstract void checkPrimitiveValidity()
Check if the validity of this primitive is correctly set and change its values if necessary. This function DO NOT revalidate the primitives inside this primitive.- See Also:
revalidate()
-
rebuild
public final void rebuild()
Description copied from interface:BusPrimitiveRebuild the primitive and all the primitive inside. Rebuilding means to reset all the internal values and recompute their values.This function should be invoked when the bus primitive was construct with its flag replied by
AttributeCollection.isEventFirable()set tofalse. This function permits to finalize the construction.In addition, this function automatically invoke
BoundedGISElement.resetBoundingBox()and does the same job asBusPrimitive.revalidate()(but does not invoke it). This function invokesAttributeCollection.setEventFirable(boolean)withtrueas parameter.This function does not fire any event is
AttributeCollection.isEventFirable()repliestruewhenBusPrimitive.rebuild()is invoked- Specified by:
rebuildin interfaceBusPrimitive<CONTAINER extends BusContainer<?>>- See Also:
BusPrimitive.rebuild(boolean)
-
toJson
@Pure public void toJson(JsonBuffer buffer)
Description copied from interface:JsonableObjectReplies the Json representation of this node.- Specified by:
toJsonin interfaceJsonableObject- Overrides:
toJsonin classAbstractBoundedGISElement<CONTAINER extends BusContainer<?>,AbstractBusPrimitive<CONTAINER extends BusContainer<?>>>- Parameters:
buffer- the Json buffer.
-
-