Class ClientApproval
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.IdentifiableImpl
-
- org.oa4mp.delegation.server.storage.ClientApproval
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.DateComparable
,edu.uiuc.ncsa.security.core.Identifiable
,Serializable
,Cloneable
public class ClientApproval extends edu.uiuc.ncsa.security.core.util.IdentifiableImpl implements edu.uiuc.ncsa.security.core.DateComparable
A client approval. Note that this has the same id as the client record! Changing the identifier will effectively remove this approval.Created by Jeff Gaynor
on May 26, 2011 at 9:40:02 AM- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientApproval.Status
This status enum has values that the elements assume.
-
Constructor Summary
Constructors Constructor Description ClientApproval(edu.uiuc.ncsa.security.core.Identifier identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description edu.uiuc.ncsa.security.core.util.IdentifiableImpl
clone()
boolean
equals(Object obj)
Date
getApprovalTimestamp()
String
getApprover()
Date
getCreationTS()
ClientApproval.Status
getStatus()
boolean
isApproved()
void
setApprovalTimestamp(Date approvalTimestamp)
void
setApproved(boolean approved)
void
setApprover(String approver)
void
setStatus(ClientApproval.Status status)
String
toString()
-
-
-
Method Detail
-
getCreationTS
public Date getCreationTS()
- Specified by:
getCreationTS
in interfaceedu.uiuc.ncsa.security.core.DateComparable
-
getStatus
public ClientApproval.Status getStatus()
-
setStatus
public void setStatus(ClientApproval.Status status)
-
getApprovalTimestamp
public Date getApprovalTimestamp()
-
setApprovalTimestamp
public void setApprovalTimestamp(Date approvalTimestamp)
-
isApproved
public boolean isApproved()
-
setApproved
public void setApproved(boolean approved)
-
getApprover
public String getApprover()
-
setApprover
public void setApprover(String approver)
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classedu.uiuc.ncsa.security.core.util.IdentifiableImpl
-
clone
public edu.uiuc.ncsa.security.core.util.IdentifiableImpl clone()
- Specified by:
clone
in interfaceedu.uiuc.ncsa.security.core.Identifiable
- Overrides:
clone
in classedu.uiuc.ncsa.security.core.util.IdentifiableImpl
-
-