|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.ce.monitorapij.types.CEMonResourceBase
org.glite.ce.monitorapij.types.CEMonResource
Field Summary | |
protected java.util.Calendar |
creationTime
|
protected boolean |
newResource
|
Constructor Summary | |
CEMonResource()
|
|
CEMonResource(java.lang.String name,
java.lang.String type)
|
Method Summary | |
boolean |
exists()
Check if this resource still exists. |
java.util.Calendar |
getCreationTime()
Get the creation time. |
Property |
getProperty(java.lang.String name)
Get a Property specifying its name |
boolean |
isNew()
Check if this resource has recently been added (i.e. |
java.util.Calendar |
lastModified()
Get the time of the last modification occurred to this resource. |
static org.apache.axis.utils.BeanPropertyDescriptor[] |
removeHiddenProperties(org.apache.axis.utils.BeanPropertyDescriptor[] in)
|
void |
setCreationTime(java.util.Calendar time)
Set the time of the last modification occurred to this resource. |
void |
setId(int id)
Set the int identifying this resource. |
void |
setNew(boolean b)
Set the "new" flag of this resource. |
Methods inherited from class org.glite.ce.monitorapij.types.CEMonResourceBase |
equals, getDeserializer, getId, getJarPath, getName, getProperty, getProperty, getSerializer, getType, getTypeDesc, hashCode, setId, setJarPath, setName, setProperty, setProperty, setType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.glite.ce.monitorapij.resource.Resource |
getId, getJarPath, getName, getProperty, getProperty, getType, setId, setJarPath, setName, setProperty, setProperty, setType |
Field Detail |
protected transient boolean newResource
protected transient java.util.Calendar creationTime
Constructor Detail |
public CEMonResource()
public CEMonResource(java.lang.String name, java.lang.String type)
Method Detail |
public boolean isNew()
Resource
isNew
in interface Resource
public void setNew(boolean b)
Resource
setNew
in interface Resource
b
- The value of the "new" flag.public void setId(int id)
Resource
setId
in interface Resource
public java.util.Calendar getCreationTime()
Resource
getCreationTime
in interface Resource
public void setCreationTime(java.util.Calendar time)
Resource
setCreationTime
in interface Resource
time
- The time of the last modification to this resource.public Property getProperty(java.lang.String name)
Resource
Property
specifying its name
getProperty
in interface Resource
name
- The name of the property.
Property
if it exists.public boolean exists()
Resource
exists
in interface Resource
public java.util.Calendar lastModified()
Resource
lastModified
in interface Resource
public static org.apache.axis.utils.BeanPropertyDescriptor[] removeHiddenProperties(org.apache.axis.utils.BeanPropertyDescriptor[] in)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |