Package oracle.spatial.network.nfe.model
Interface NFEModelObject
-
- All Known Implementing Classes:
NFEBasicFeature
,NFEBasicFeatureElement
,NFEBasicLink
,NFEBasicModelObject
,NFEBasicNode
,NFEFeature
,NFEFeatureElement
,NFELink
,NFENetworkElement
,NFENode
,NFERuleInstance
,NFERuleInstanceRelation
public interface NFEModelObject
Base interface for any object contained directly or indirectly in an NFE Model
-
-
Field Summary
Fields Modifier and Type Field Description static byte
EFLAG_EXISTING
If this flag is on, it means the object was loaded from the databasestatic byte
EFLAG_REMOVED
If this flag is on, it means the object was removed from the model
-
Method Summary
All Methods Instance Methods Abstract 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
-
-
-
Field Detail
-
EFLAG_EXISTING
static final byte EFLAG_EXISTING
If this flag is on, it means the object was loaded from the database- See Also:
- Constant Field Values
-
EFLAG_REMOVED
static final byte EFLAG_REMOVED
If this flag is on, it means the object was removed from the model- See Also:
- Constant Field Values
-
-
Method Detail
-
setEditionFlags
void setEditionFlags(byte flags)
Sets the given flags on- Parameters:
flags
- a mask with the flags to turn on
-
getEditionFlags
byte getEditionFlags()
Gets all the active flags- Returns:
- a byte with the active flags on
-
addEditionFlag
void addEditionFlag(byte flag)
Turns on a single flag- Parameters:
flag
- a flag
-
removeEditionFlag
void removeEditionFlag(byte flag)
Sets the given flags off- Parameters:
flag
- a bit mask
-
containsEditionFlag
boolean containsEditionFlag(byte flag)
Tells whether the flag is on- Parameters:
flag
- a bit mask- Returns:
- true if the flag(s) is on
-
-