public class Resource extends ExtendableDataObject implements NameAndIdObject
Constructor and Description |
---|
Resource()
Instantiates a new
Resource object |
Resource(java.lang.Integer id)
Instantiates a new
Resource object with the given id |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(OXResourceExtensionInterface extension)
Deprecated.
|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAvailable()
This attribute is not used
|
java.lang.String |
getDescription()
Returns the description of this resource
|
java.lang.String |
getDisplayname()
Returns the displayname of this resource
|
java.lang.String |
getEmail()
Returns the E-Mail of this resource
|
OXResourceExtensionInterface |
getExtensionbyName(java.lang.String extname)
Deprecated.
|
java.util.ArrayList<OXResourceExtensionInterface> |
getExtensions()
Deprecated.
|
java.lang.Integer |
getId()
Returns the id of this object
|
java.lang.String[] |
getMandatoryMembersChange()
At the moment no fields are defined here
|
java.lang.String[] |
getMandatoryMembersCreate()
At the moment
setName(java.lang.String) , setDisplayname(java.lang.String) and setEmail(java.lang.String) are defined here |
java.lang.String[] |
getMandatoryMembersDelete()
At the moment no fields are defined here
|
java.lang.String[] |
getMandatoryMembersRegister()
At the moment no fields are defined here
|
java.lang.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(java.lang.Boolean available)
This attribute is not used
|
void |
setDescription(java.lang.String description)
Sets the description for this resource
|
void |
setDisplayname(java.lang.String displayname)
Sets the displayname for this resource
|
void |
setEmail(java.lang.String email)
Sets the email address for this resource
|
void |
setId(java.lang.Integer id)
Sets the id for this object
|
void |
setName(java.lang.String name)
Sets the name for this object
|
java.lang.String |
toString() |
addExtension, getAllExtensionsAsHash, getFirstExtensionByName, isExtensionsok, isExtensionsset, removeExtension, setExtensionsok
getUnsetMembers, mandatoryChangeMembersSet, mandatoryCreateMembersSet, mandatoryDeleteMembersSet, mandatoryRegisterMembersSet, testMandatoryCreateFieldsNull
public Resource()
Resource
objectpublic Resource(java.lang.Integer id)
Resource
object with the given idid
- An Integer
object containing the idpublic java.lang.Integer getId()
NameAndIdObject
getId
in interface NameAndIdObject
Integer
object containing the idpublic void setId(java.lang.Integer id)
NameAndIdObject
setId
in interface NameAndIdObject
id
- An Integer
object containing the idpublic java.lang.String getName()
NameAndIdObject
getName
in interface NameAndIdObject
String
containing the namepublic void setName(java.lang.String name)
NameAndIdObject
setName
in interface NameAndIdObject
name
- A String
containing the namepublic java.lang.String getDisplayname()
String
containing the displaynamepublic void setDisplayname(java.lang.String displayname)
displayname
- A String
containing the displaynamepublic java.lang.String getEmail()
String
object containing the E-Mail addresspublic void setEmail(java.lang.String email)
email
- A String
object containing the E-Mail addresspublic java.lang.Boolean getAvailable()
public void setAvailable(java.lang.Boolean available)
public java.lang.String getDescription()
String
object containing the descriptionpublic void setDescription(java.lang.String description)
description
- A String
object containing the descriptionpublic java.lang.String toString()
EnforceableDataObject
toString
in class ExtendableDataObject
@Deprecated public void addExtension(OXResourceExtensionInterface extension)
extension
- @Deprecated public java.util.ArrayList<OXResourceExtensionInterface> getExtensions()
@Deprecated public boolean removeExtension(OXResourceExtensionInterface o)
o
- @Deprecated public OXResourceExtensionInterface getExtensionbyName(java.lang.String extname)
extname
- a String for the extensionOXResourceExtensionInterface
with extnamepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public java.lang.String[] getMandatoryMembersChange()
getMandatoryMembersChange
in class EnforceableDataObject
public java.lang.String[] getMandatoryMembersCreate()
setName(java.lang.String)
, setDisplayname(java.lang.String)
and setEmail(java.lang.String)
are defined heregetMandatoryMembersCreate
in class EnforceableDataObject
public java.lang.String[] getMandatoryMembersDelete()
getMandatoryMembersDelete
in class EnforceableDataObject
public java.lang.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(java.lang.Object obj)
equals
in class ExtendableDataObject