Package edu.uiuc.ncsa.security.core.util
Class IdentifiableImpl
- java.lang.Object
- 
- edu.uiuc.ncsa.security.core.util.IdentifiableImpl
 
- 
- All Implemented Interfaces:
- Identifiable,- Serializable,- Cloneable
 
 public class IdentifiableImpl extends Object implements Identifiable, Cloneable Simple implementation of theIdentifiableinterface.Created by Jeff Gaynor 
 on 4/5/12 at 10:12 AM- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description IdentifiableImpl(Identifier identifier)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifiableImplclone()booleanequals(Object obj)StringgetDescription()IdentifiergetIdentifier()Get the identiferStringgetIdentifierString()Convenience call to cast the identifier to a string.booleanisReadOnly()If this client is read only.voidsetDescription(String description)voidsetIdentifier(Identifier identifier)Set the identifier.voidsetReadOnly(boolean readOnly)
 
- 
- 
- 
Constructor Detail- 
IdentifiableImplpublic IdentifiableImpl(Identifier identifier) 
 
- 
 - 
Method Detail- 
clonepublic IdentifiableImpl clone() - Specified by:
- clonein interface- Identifiable
- Overrides:
- clonein class- Object
 
 - 
getIdentifierpublic Identifier getIdentifier() Description copied from interface:IdentifiableGet the identifer- Specified by:
- getIdentifierin interface- Identifiable
- Returns:
 
 - 
getIdentifierStringpublic String getIdentifierString() Description copied from interface:IdentifiableConvenience call to cast the identifier to a string.- Specified by:
- getIdentifierStringin interface- Identifiable
- Returns:
 
 - 
getDescriptionpublic String getDescription() - Specified by:
- getDescriptionin interface- Identifiable
 
 - 
setDescriptionpublic void setDescription(String description) - Specified by:
- setDescriptionin interface- Identifiable
 
 - 
setIdentifierpublic void setIdentifier(Identifier identifier) Description copied from interface:IdentifiableSet the identifier.- Specified by:
- setIdentifierin interface- Identifiable
 
 - 
isReadOnlypublic boolean isReadOnly() If this client is read only. That means any attempt to save it or update it will throw an exception. This is used specifically if a client has prototypes that have been resolved. The resolved client should never be saved (since that would overwrite its actual definition).- Specified by:
- isReadOnlyin interface- Identifiable
- Returns:
 
 - 
setReadOnlypublic void setReadOnly(boolean readOnly) - Specified by:
- setReadOnlyin interface- Identifiable
 
 
- 
 
-