Package cz.metacentrum.perun.core.api
Class Owner
java.lang.Object
cz.metacentrum.perun.core.api.PerunBean
cz.metacentrum.perun.core.api.Auditable
cz.metacentrum.perun.core.api.Owner
- All Implemented Interfaces:
Serializable
,Comparable<PerunBean>
Owner of resources
- Author:
- Michal Prochazka, Slavek Licehammer
- See Also:
-
Constructor Summary
ConstructorDescriptionOwner()
Owner
(int id, String name, String contact, OwnerType type, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer createdByUid, Integer modifiedByUid) Owner
(int id, String name, String contact, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer createdByUid, Integer modifiedByUid) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Gets the contact for this instance.getName()
getType()
int
hashCode()
void
setContact
(String contact) Sets the contact for this instance.void
void
void
setTypeByString
(String type) toString()
Methods inherited from class cz.metacentrum.perun.core.api.Auditable
getCreatedAt, getCreatedBy, getCreatedByUid, getModifiedAt, getModifiedBy, getModifiedByUid, setCreatedAt, setCreatedBy, setCreatedByUid, setModifiedAt, setModifiedBy, setModifiedByUid
Methods inherited from class cz.metacentrum.perun.core.api.PerunBean
getBeanName, getId, setId
-
Constructor Details
-
Owner
public Owner() -
Owner
-
Owner
-
Owner
-
Owner
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PerunBean>
- Overrides:
compareTo
in classPerunBean
-
equals
-
getContact
Gets the contact for this instance.- Returns:
- The contact.
-
setContact
Sets the contact for this instance.- Parameters:
contact
- The contact.
-
getName
-
setName
-
getType
-
setType
-
hashCode
public int hashCode() -
serializeToString
- Overrides:
serializeToString
in classAuditable
-
setTypeByString
-
toString
-