|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 id| Method Detail |
|---|
public Integer getId()
NameAndIdObject
getId in interface NameAndIdObjectInteger object containing the idpublic void setId(Integer id)
NameAndIdObject
setId in interface NameAndIdObjectid - An Integer object containing the idpublic String getName()
NameAndIdObject
getName in interface NameAndIdObjectString containing the namepublic void setName(String name)
NameAndIdObject
setName in interface NameAndIdObjectname - 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 ExtendableDataObjectpublic 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 extname
public Object clone()
throws CloneNotSupportedException
CloneNotSupportedExceptionpublic String[] getMandatoryMembersChange()
getMandatoryMembersChange in class EnforceableDataObjectpublic String[] getMandatoryMembersCreate()
setName(java.lang.String), setDisplayname(java.lang.String) and setEmail(java.lang.String) are defined here
getMandatoryMembersCreate in class EnforceableDataObjectpublic String[] getMandatoryMembersDelete()
getMandatoryMembersDelete in class EnforceableDataObjectpublic String[] getMandatoryMembersRegister()
getMandatoryMembersRegister in class EnforceableDataObjectpublic boolean isNameset()
public boolean isDisplaynameset()
public boolean isDescriptionset()
public boolean isEmailset()
public boolean isAvailableset()
public int hashCode()
hashCode in class ExtendableDataObjectpublic boolean equals(Object obj)
equals in class ExtendableDataObject
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||