Class UmaResource
- java.lang.Object
-
- org.gluu.oxauth.model.uma.persistence.UmaResource
-
- All Implemented Interfaces:
java.io.Serializable
public class UmaResource extends java.lang.Object implements java.io.Serializable
Resource description.- Author:
- Yuriy Zabrovarnyy Date: 10/03/2012
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UmaResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getClients()
java.util.Date
getCreationDate()
java.lang.String
getCreator()
java.lang.String
getDescription()
java.lang.String
getDn()
java.util.Date
getExpirationDate()
java.lang.String
getIconUri()
java.lang.String
getId()
java.lang.String
getInum()
java.lang.String
getName()
java.util.List<java.lang.String>
getResources()
java.lang.String
getRev()
java.lang.String
getScopeExpression()
java.util.List<java.lang.String>
getScopes()
java.lang.Integer
getTtl()
java.lang.String
getType()
boolean
isDeletable()
boolean
isExpired()
void
resetTtlFromExpirationDate()
void
setClients(java.util.List<java.lang.String> p_clients)
void
setCreationDate(java.util.Date creationDate)
void
setCreator(java.lang.String creator)
void
setDeletable(boolean deletable)
void
setDescription(java.lang.String description)
void
setDn(java.lang.String dn)
void
setExpirationDate(java.util.Date expirationDate)
void
setIconUri(java.lang.String iconUri)
void
setId(java.lang.String id)
void
setInum(java.lang.String inum)
void
setName(java.lang.String name)
void
setResources(java.util.List<java.lang.String> resources)
void
setRev(java.lang.String rev)
void
setScopeExpression(java.lang.String scopeExpression)
void
setScopes(java.util.List<java.lang.String> scopes)
void
setTtl(java.lang.Integer ttl)
void
setType(java.lang.String type)
java.lang.String
toString()
-
-
-
Method Detail
-
getTtl
public java.lang.Integer getTtl()
-
setTtl
public void setTtl(java.lang.Integer ttl)
-
resetTtlFromExpirationDate
public void resetTtlFromExpirationDate()
-
isDeletable
public boolean isDeletable()
-
setDeletable
public void setDeletable(boolean deletable)
-
getScopeExpression
public java.lang.String getScopeExpression()
-
setScopeExpression
public void setScopeExpression(java.lang.String scopeExpression)
-
getDn
public java.lang.String getDn()
-
setDn
public void setDn(java.lang.String dn)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getInum
public java.lang.String getInum()
-
setInum
public void setInum(java.lang.String inum)
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getClients
public java.util.List<java.lang.String> getClients()
-
setClients
public void setClients(java.util.List<java.lang.String> p_clients)
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getIconUri
public java.lang.String getIconUri()
-
setIconUri
public void setIconUri(java.lang.String iconUri)
-
getScopes
public java.util.List<java.lang.String> getScopes()
-
setScopes
public void setScopes(java.util.List<java.lang.String> scopes)
-
getResources
public java.util.List<java.lang.String> getResources()
-
setResources
public void setResources(java.util.List<java.lang.String> resources)
-
getRev
public java.lang.String getRev()
-
setRev
public void setRev(java.lang.String rev)
-
getCreator
public java.lang.String getCreator()
-
setCreator
public void setCreator(java.lang.String creator)
-
getCreationDate
public java.util.Date getCreationDate()
-
setCreationDate
public void setCreationDate(java.util.Date creationDate)
-
getExpirationDate
public java.util.Date getExpirationDate()
-
setExpirationDate
public void setExpirationDate(java.util.Date expirationDate)
-
isExpired
public boolean isExpired()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-