Package oracle.spatial.network.nfe.model
Class NFEWorkspaceInfo
- java.lang.Object
-
- oracle.spatial.network.nfe.model.NFEWorkspaceInfo
-
public class NFEWorkspaceInfo extends java.lang.Object
Contains information related to the workspace. The manipulator uses this information to allow or deny features edition. This information has to be set by the client and will not be set at model loading time.
-
-
Constructor Summary
Constructors Constructor Description NFEWorkspaceInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLockedArea(JGeometry geometry)
Adds the specified geometry in the locked area.java.awt.geom.Area
getLockedArea()
Returns the locked area.java.lang.String
getWorkspaceName()
Returns the workspace name.void
removeLockedArea(JGeometry geometry)
Removes the geometry from the locked area.void
resetLockedAreas()
This function will empty the locked area.void
setLockedArea(java.awt.geom.Area lockedArea)
Sets the locked area.void
setWorkspaceName(java.lang.String workspaceName)
Sets the workspace name
-
-
-
Method Detail
-
getWorkspaceName
public java.lang.String getWorkspaceName()
Returns the workspace name.- Returns:
- workspace name
-
setWorkspaceName
public void setWorkspaceName(java.lang.String workspaceName)
Sets the workspace name- Parameters:
workspaceName
- workspace name
-
addLockedArea
public void addLockedArea(JGeometry geometry)
Adds the specified geometry in the locked area.- Parameters:
geometry
- geometry to add in the locked area
-
removeLockedArea
public void removeLockedArea(JGeometry geometry)
Removes the geometry from the locked area.- Parameters:
geometry
- geometry to remove from the locked area
-
resetLockedAreas
public void resetLockedAreas()
This function will empty the locked area.
-
getLockedArea
public java.awt.geom.Area getLockedArea()
Returns the locked area.- Returns:
- locked area
-
setLockedArea
public void setLockedArea(java.awt.geom.Area lockedArea)
Sets the locked area.- Parameters:
lockedArea
- locked area
-
-