com.adventnet.agent.tl1.security
Class TL1ResourceSecurity
java.lang.Object
|
+--com.adventnet.agent.tl1.security.TL1ResourceSecurity
- public class TL1ResourceSecurity
- extends java.lang.Object
This class stores the Resource related security informations.
|
Method Summary |
java.util.Vector |
getRapList()
Returns the Vector of field access privilege. |
java.lang.String |
getResource()
This method gets the name of the resource. |
java.lang.String |
getState()
Returns the current state of the Resource. |
void |
setRapList(java.util.Vector list)
Sets Field access privilege of the corresponding field. |
void |
setResource(java.lang.String source)
Sets the name of the resource. |
void |
setState(java.lang.String status)
Set the status of this Resource. |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TL1ResourceSecurity
public TL1ResourceSecurity()
getResource
public java.lang.String getResource()
- This method gets the name of the resource.
- Returns:
- Returns name of the resource
setResource
public void setResource(java.lang.String source)
- Sets the name of the resource.
- Parameters:
source - - Resource name to set
getState
public java.lang.String getState()
- Returns the current state of the Resource.
if 1 it is in service or if 0 it is out of service.
setState
public void setState(java.lang.String status)
- Set the status of this Resource.
- Parameters:
status - - Status if the Resource. 1 - InService, 0 - OutOfService
getRapList
public java.util.Vector getRapList()
- Returns the Vector of field access privilege.
setRapList
public void setRapList(java.util.Vector list)
- Sets Field access privilege of the corresponding field.
- Parameters:
list - - Access Privilege to be set