Package oracle.spatial.network.nfe.beans
Class NFEWorkspace
- java.lang.Object
-
- oracle.spatial.network.nfe.beans.NFEWorkspace
-
public class NFEWorkspace extends java.lang.ObjectDescribes a workspace used by the workspace manager for versioning. The workspaces are related to models. A minimum bounding rectangle (MBR) work area can be defined for a workspace and the work area can be locked to any other workspace. The locking is checked in memory during features manipulations (see functions NFEManipulator.isAllowedPoint and NFEManipulator.isAllowedRectangle).
-
-
Constructor Summary
Constructors Constructor Description NFEWorkspace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)doublegetLowerX()Returns the workspace work area lowest X.doublegetLowerY()Returns the workspace work area lower Y.longgetModelId()Returns the model id to which the workspace is related.doublegetUpperX()Returns the workspace work area upper X.doublegetUpperY()Returns the workspace work area upper Y.java.lang.StringgetWorkspace()Returns the workspace name.inthashCode()booleanisLockInd()Returns true if the work area is locked, false otherwise.booleanisMbrInd()Returns true if a work area is defined for the workspace, false otherwise.voidsetLockInd(boolean lockInd)Sets true if the work area is locked, false otherwise.voidsetLowerX(double lowerX)Sets the workspace work area lowest X.voidsetLowerY(double lowerY)Sets the workspace work area lower Y.voidsetMbrInd(boolean mbrInd)Sets true if a work area is defined for the workspace, false otherwise.voidsetModelId(long modelId)Sets the model id to which the workspace is related.voidsetUpperX(double upperX)Sets the workspace work area upper X.voidsetUpperY(double upperY)Sets the workspace work area upper Y.voidsetWorkspace(java.lang.String workspace)Sets the workspace name.
-
-
-
Method Detail
-
getModelId
public long getModelId()
Returns the model id to which the workspace is related.- Returns:
- model id
-
setModelId
public void setModelId(long modelId)
Sets the model id to which the workspace is related.- Parameters:
modelId- model id
-
getWorkspace
public java.lang.String getWorkspace()
Returns the workspace name.- Returns:
- workspace name
-
setWorkspace
public void setWorkspace(java.lang.String workspace)
Sets the workspace name.- Parameters:
workspace- workspace name
-
getLowerX
public double getLowerX()
Returns the workspace work area lowest X.- Returns:
- workspace work area lowest X
-
setLowerX
public void setLowerX(double lowerX)
Sets the workspace work area lowest X.- Parameters:
lowerX- workspace work area lowest X
-
getUpperX
public double getUpperX()
Returns the workspace work area upper X.- Returns:
- workspace work area upper X
-
setUpperX
public void setUpperX(double upperX)
Sets the workspace work area upper X.- Parameters:
upperX- workspace work area upper X
-
getLowerY
public double getLowerY()
Returns the workspace work area lower Y.- Returns:
- workspace work area lower Y
-
setLowerY
public void setLowerY(double lowerY)
Sets the workspace work area lower Y.- Parameters:
lowerY- workspace work area lower Y
-
getUpperY
public double getUpperY()
Returns the workspace work area upper Y.- Returns:
- workspace work area upper Y
-
setUpperY
public void setUpperY(double upperY)
Sets the workspace work area upper Y.- Parameters:
upperY- workspace work area upper Y
-
isMbrInd
public boolean isMbrInd()
Returns true if a work area is defined for the workspace, false otherwise.- Returns:
- true if a work area is defined for the workspace, false otherwise
-
setMbrInd
public void setMbrInd(boolean mbrInd)
Sets true if a work area is defined for the workspace, false otherwise.- Parameters:
mbrInd- true if a work area is defined for the workspace, false otherwise
-
isLockInd
public boolean isLockInd()
Returns true if the work area is locked, false otherwise.- Returns:
- true if the work area is locked, false otherwise
-
setLockInd
public void setLockInd(boolean lockInd)
Sets true if the work area is locked, false otherwise.- Parameters:
lockInd- true if the work area is locked, false otherwise
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-