Class Delegation
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.delegation.Delegation
-
- All Implemented Interfaces:
java.io.Serializable
public class Delegation extends IdentifiableElement implements java.io.Serializable
A delegation of a user to a user <p>Java class for Delegation complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="Delegation"> <complexContent> <extension base="{http://flower.com/docs/domain/common}IdentifiableElement"> <sequence> <element name="delegator" type="{http://flower.com/docs/domain/common}Id"/> <element name="delegate" type="{http://flower.com/docs/domain/common}Id"/> <element name="start" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="end" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="creator" type="{http://flower.com/docs/domain/common}Id"/> <element name="creationDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="terminator" type="{http://flower.com/docs/domain/common}Id" minOccurs="0"/> <element name="terminationDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Date
creationDate
The date at which the delegation has been createdprotected Id
creator
The user who creates the delegation (it can be different from delegator)protected Id
delegate
The identity who received the delegationprotected Id
delegator
The identity who delegatesprotected java.lang.String
description
The delegation description allowing to indicates why the delegation has been createdprotected java.util.Date
end
The date at which ends the delegationprotected java.util.Date
start
The date at which starts the delegationprotected java.util.Date
terminationDate
protected Id
terminator
The user who terminated the delegation (reduced the end date)-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description Delegation()
Default no-arg constructor abcDelegation(Id id, Id delegator, Id delegate, java.util.Date start, java.util.Date end, Id creator, java.util.Date creationDate, Id terminator, java.util.Date terminationDate, java.lang.String description)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.util.Date
getCreationDate()
Gets the value of the creationDate property.Id
getCreator()
Gets the value of the creator property.Id
getDelegate()
Gets the value of the delegate property.Id
getDelegator()
Gets the value of the delegator property.java.lang.String
getDescription()
Gets the value of the description property.java.util.Date
getEnd()
Gets the value of the end property.java.util.Date
getStart()
Gets the value of the start property.java.util.Date
getTerminationDate()
Gets the value of the terminationDate property.Id
getTerminator()
Gets the value of the terminator property.int
hashCode()
void
setCreationDate(java.util.Date value)
Sets the value of the creationDate property.void
setCreator(Id value)
Sets the value of the creator property.void
setDelegate(Id value)
Sets the value of the delegate property.void
setDelegator(Id value)
Sets the value of the delegator property.void
setDescription(java.lang.String value)
Sets the value of the description property.void
setEnd(java.util.Date value)
Sets the value of the end property.void
setStart(java.util.Date value)
Sets the value of the start property.void
setTerminationDate(java.util.Date value)
Sets the value of the terminationDate property.void
setTerminator(Id value)
Sets the value of the terminator property.java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
delegator
protected Id delegator
The identity who delegates
-
delegate
protected Id delegate
The identity who received the delegation
-
start
protected java.util.Date start
The date at which starts the delegation
-
end
protected java.util.Date end
The date at which ends the delegation
-
creator
protected Id creator
The user who creates the delegation (it can be different from delegator)
-
creationDate
protected java.util.Date creationDate
The date at which the delegation has been created
-
terminator
protected Id terminator
The user who terminated the delegation (reduced the end date)
-
terminationDate
protected java.util.Date terminationDate
-
description
protected java.lang.String description
The delegation description allowing to indicates why the delegation has been created
-
-
Method Detail
-
getDelegator
public Id getDelegator()
Gets the value of the delegator property. <p> The identity who delegates- Returns:
- possible object is
Id
-
setDelegator
public void setDelegator(Id value)
Sets the value of the delegator property.- Parameters:
value
- allowed object isId
- See Also:
getDelegator()
-
getDelegate
public Id getDelegate()
Gets the value of the delegate property. <p> The identity who received the delegation- Returns:
- possible object is
Id
-
setDelegate
public void setDelegate(Id value)
Sets the value of the delegate property.- Parameters:
value
- allowed object isId
- See Also:
getDelegate()
-
getStart
public java.util.Date getStart()
Gets the value of the start property. <p> The date at which starts the delegation- Returns:
- possible object is
String
-
setStart
public void setStart(java.util.Date value)
Sets the value of the start property.- Parameters:
value
- allowed object isString
- See Also:
getStart()
-
getEnd
public java.util.Date getEnd()
Gets the value of the end property. <p> The date at which ends the delegation- Returns:
- possible object is
String
-
setEnd
public void setEnd(java.util.Date value)
Sets the value of the end property.- Parameters:
value
- allowed object isString
- See Also:
getEnd()
-
getCreator
public Id getCreator()
Gets the value of the creator property. <p> The user who creates the delegation (it can be different from delegator)- Returns:
- possible object is
Id
-
setCreator
public void setCreator(Id value)
Sets the value of the creator property.- Parameters:
value
- allowed object isId
- See Also:
getCreator()
-
getCreationDate
public java.util.Date getCreationDate()
Gets the value of the creationDate property. <p> The date at which the delegation has been created- Returns:
- possible object is
String
-
setCreationDate
public void setCreationDate(java.util.Date value)
Sets the value of the creationDate property.- Parameters:
value
- allowed object isString
- See Also:
getCreationDate()
-
getTerminator
public Id getTerminator()
Gets the value of the terminator property. <p> The user who terminated the delegation (reduced the end date)- Returns:
- possible object is
Id
-
setTerminator
public void setTerminator(Id value)
Sets the value of the terminator property.- Parameters:
value
- allowed object isId
- See Also:
getTerminator()
-
getTerminationDate
public java.util.Date getTerminationDate()
Gets the value of the terminationDate property.- Returns:
- possible object is
String
-
setTerminationDate
public void setTerminationDate(java.util.Date value)
Sets the value of the terminationDate property.- Parameters:
value
- allowed object isString
-
getDescription
public java.lang.String getDescription()
Gets the value of the description property. <p> The delegation description allowing to indicates why the delegation has been created- Returns:
- possible object is
String
-
setDescription
public void setDescription(java.lang.String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
- See Also:
getDescription()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-