|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.openexchange.admin.rmi.dataobjects.EnforceableDataObject com.openexchange.admin.rmi.dataobjects.ExtendableDataObject com.openexchange.admin.rmi.dataobjects.Resource
public class Resource
This dataobject stores all the data which is related to a resource
Constructor Summary | |
---|---|
Resource()
Instantiates a new Resource object |
|
Resource(Integer id)
Instantiates a new Resource object with the given id |
Method Summary | |
---|---|
void |
addExtension(OXResourceExtensionInterface extension)
Deprecated. |
Object |
clone()
|
boolean |
equals(Object obj)
|
Boolean |
getAvailable()
This attribute is not used |
String |
getDescription()
Returns the description of this resource |
String |
getDisplayname()
Returns the displayname of this resource |
String |
getEmail()
Returns the E-Mail of this resource |
OXResourceExtensionInterface |
getExtensionbyName(String extname)
Deprecated. |
ArrayList<OXResourceExtensionInterface> |
getExtensions()
Deprecated. |
Integer |
getId()
Returns the id of this object |
String[] |
getMandatoryMembersChange()
At the moment no fields are defined here |
String[] |
getMandatoryMembersCreate()
At the moment setName(java.lang.String) , setDisplayname(java.lang.String) and setEmail(java.lang.String) are defined here |
String[] |
getMandatoryMembersDelete()
At the moment no fields are defined here |
String[] |
getMandatoryMembersRegister()
At the moment no fields are defined here |
String |
getName()
Returns the name of this object |
int |
hashCode()
|
boolean |
isAvailableset()
This attribute is not used |
boolean |
isDescriptionset()
Used to check if the description of this object has been changed |
boolean |
isDisplaynameset()
Used to check if the displayname of this object has been changed |
boolean |
isEmailset()
Used to check if the E-Mail of this object has been changed |
boolean |
isNameset()
Used to check if the member of this object has been changed |
boolean |
removeExtension(OXResourceExtensionInterface o)
Deprecated. |
void |
setAvailable(Boolean available)
This attribute is not used |
void |
setDescription(String description)
Sets the description for this resource |
void |
setDisplayname(String displayname)
Sets the displayname for this resource |
void |
setEmail(String email)
Sets the email address for this resource |
void |
setId(Integer id)
Sets the id for this object |
void |
setName(String name)
Sets the name for this object |
String |
toString()
|
Methods inherited from class com.openexchange.admin.rmi.dataobjects.ExtendableDataObject |
---|
addExtension, getAllExtensionsAsHash, getFirstExtensionByName, isExtensionsok, isExtensionsset, removeExtension, setExtensionsok |
Methods inherited from class com.openexchange.admin.rmi.dataobjects.EnforceableDataObject |
---|
getUnsetMembers, mandatoryChangeMembersSet, mandatoryCreateMembersSet, mandatoryDeleteMembersSet, mandatoryRegisterMembersSet, testMandatoryCreateFieldsNull |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Resource()
Resource
object
public Resource(Integer id)
Resource
object with the given id
id
- An Integer
object containing the idMethod Detail |
---|
public Integer getId()
NameAndIdObject
getId
in interface NameAndIdObject
Integer
object containing the idpublic void setId(Integer id)
NameAndIdObject
setId
in interface NameAndIdObject
id
- An Integer
object containing the idpublic String getName()
NameAndIdObject
getName
in interface NameAndIdObject
String
containing the namepublic void setName(String name)
NameAndIdObject
setName
in interface NameAndIdObject
name
- A String
containing the namepublic String getDisplayname()
String
containing the displaynamepublic void setDisplayname(String displayname)
displayname
- A String
containing the displaynamepublic String getEmail()
String
object containing the E-Mail addresspublic void setEmail(String email)
email
- A String
object containing the E-Mail addresspublic Boolean getAvailable()
public void setAvailable(Boolean available)
public String getDescription()
String
object containing the descriptionpublic void setDescription(String description)
description
- A String
object containing the descriptionpublic String toString()
EnforceableDataObject
toString
in class ExtendableDataObject
public void addExtension(OXResourceExtensionInterface extension)
extension
- public ArrayList<OXResourceExtensionInterface> getExtensions()
public boolean removeExtension(OXResourceExtensionInterface o)
o
-
public OXResourceExtensionInterface getExtensionbyName(String extname)
extname
- a String for the extension
OXResourceExtensionInterface
with extnamepublic Object clone() throws CloneNotSupportedException
CloneNotSupportedException
public String[] getMandatoryMembersChange()
getMandatoryMembersChange
in class EnforceableDataObject
public String[] getMandatoryMembersCreate()
setName(java.lang.String)
, setDisplayname(java.lang.String)
and setEmail(java.lang.String)
are defined here
getMandatoryMembersCreate
in class EnforceableDataObject
public String[] getMandatoryMembersDelete()
getMandatoryMembersDelete
in class EnforceableDataObject
public String[] getMandatoryMembersRegister()
getMandatoryMembersRegister
in class EnforceableDataObject
public boolean isNameset()
public boolean isDisplaynameset()
public boolean isDescriptionset()
public boolean isEmailset()
public boolean isAvailableset()
public int hashCode()
hashCode
in class ExtendableDataObject
public boolean equals(Object obj)
equals
in class ExtendableDataObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |