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 void
addEditionFlag(byte flag)
Turns on a single flagboolean
containsEditionFlag(byte flag)
Tells whether the flag is onbyte
getEditionFlags()
Gets all the active flagsvoid
removeEditionFlag(byte flag)
Sets the given flags offvoid
setEditionFlags(byte flags)
Sets the given flags on
-
-
-
Method Detail
-
setEditionFlags
public void setEditionFlags(byte flags)
Description copied from interface:NFEModelObject
Sets the given flags on- Specified by:
setEditionFlags
in interfaceNFEModelObject
- Parameters:
flags
- a mask with the flags to turn on
-
getEditionFlags
public byte getEditionFlags()
Description copied from interface:NFEModelObject
Gets all the active flags- Specified by:
getEditionFlags
in interfaceNFEModelObject
- Returns:
- a byte with the active flags on
-
addEditionFlag
public void addEditionFlag(byte flag)
Description copied from interface:NFEModelObject
Turns on a single flag- Specified by:
addEditionFlag
in interfaceNFEModelObject
- Parameters:
flag
- a flag
-
removeEditionFlag
public void removeEditionFlag(byte flag)
Description copied from interface:NFEModelObject
Sets the given flags off- Specified by:
removeEditionFlag
in interfaceNFEModelObject
- Parameters:
flag
- a bit mask
-
containsEditionFlag
public boolean containsEditionFlag(byte flag)
Description copied from interface:NFEModelObject
Tells whether the flag is on- Specified by:
containsEditionFlag
in interfaceNFEModelObject
- Parameters:
flag
- a bit mask- Returns:
- true if the flag(s) is on
-
-