Package oracle.spatial.network.nfe.model
Class NFEBasicModelObject
- java.lang.Object
-
- oracle.spatial.network.nfe.model.NFEBasicModelObject
-
- All Implemented Interfaces:
NFEModelObject
- Direct Known Subclasses:
NFEFeature,NFEFeatureElement,NFENetworkElement,NFERuleInstance,NFERuleInstanceRelation
public class NFEBasicModelObject extends java.lang.Object implements NFEModelObject
The simplest implementation of NFEModelObject
-
-
Field Summary
-
Fields inherited from interface oracle.spatial.network.nfe.model.NFEModelObject
EFLAG_EXISTING, EFLAG_REMOVED
-
-
Constructor Summary
Constructors Constructor Description NFEBasicModelObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEditionFlag(byte flag)Turns on a single flagbooleancontainsEditionFlag(byte flag)Tells whether the flag is onbytegetEditionFlags()Gets all the active flagsvoidremoveEditionFlag(byte flag)Sets the given flags offvoidsetEditionFlags(byte flags)Sets the given flags on
-
-
-
Method Detail
-
setEditionFlags
public void setEditionFlags(byte flags)
Description copied from interface:NFEModelObjectSets the given flags on- Specified by:
setEditionFlagsin interfaceNFEModelObject- Parameters:
flags- a mask with the flags to turn on
-
getEditionFlags
public byte getEditionFlags()
Description copied from interface:NFEModelObjectGets all the active flags- Specified by:
getEditionFlagsin interfaceNFEModelObject- Returns:
- a byte with the active flags on
-
addEditionFlag
public void addEditionFlag(byte flag)
Description copied from interface:NFEModelObjectTurns on a single flag- Specified by:
addEditionFlagin interfaceNFEModelObject- Parameters:
flag- a flag
-
removeEditionFlag
public void removeEditionFlag(byte flag)
Description copied from interface:NFEModelObjectSets the given flags off- Specified by:
removeEditionFlagin interfaceNFEModelObject- Parameters:
flag- a bit mask
-
containsEditionFlag
public boolean containsEditionFlag(byte flag)
Description copied from interface:NFEModelObjectTells whether the flag is on- Specified by:
containsEditionFlagin interfaceNFEModelObject- Parameters:
flag- a bit mask- Returns:
- true if the flag(s) is on
-
-