eu.etaxonomy.cdm.model.common
Class GrantedAuthorityImpl

java.lang.Object
  extended by eu.etaxonomy.cdm.model.common.CdmBase
      extended by eu.etaxonomy.cdm.model.common.GrantedAuthorityImpl
All Implemented Interfaces:
ICdmBase, Serializable, Cloneable, org.springframework.security.core.GrantedAuthority

public class GrantedAuthorityImpl
extends CdmBase
implements org.springframework.security.core.GrantedAuthority

See Also:
Serialized Form

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase
uuid
 
Constructor Summary
protected GrantedAuthorityImpl()
           
 
Method Summary
 Object clone()
          Clones this Granted Authority.
 int compareTo(Object o)
           
 String getAuthority()
           
static GrantedAuthorityImpl NewInstance()
           
 void setAuthority(String authority)
           
 
Methods inherited from class eu.etaxonomy.cdm.model.common.CdmBase
addPropertyChangeListener, addPropertyChangeListener, clone, deproxy, equals, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUuid, hashCode, hasListeners, invokeSetMethod, invokeSetMethodWithNull, isInstanceOf, removePropertyChangeListener, removePropertyChangeListener, setCreated, setCreatedBy, setId, setUuid, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GrantedAuthorityImpl

protected GrantedAuthorityImpl()
Method Detail

NewInstance

public static GrantedAuthorityImpl NewInstance()

getAuthority

public String getAuthority()
Specified by:
getAuthority in interface org.springframework.security.core.GrantedAuthority

setAuthority

public void setAuthority(String authority)

compareTo

public int compareTo(Object o)

clone

public Object clone()
Clones this Granted Authority. This is a shortcut that enables to create a new instance that differs only slightly from this Granted Authority by modifying only some of the attributes.

Overrides:
clone in class CdmBase
See Also:
CdmBase.clone(), Object.clone()


Copyright © 2007-2012 EDIT. All Rights Reserved.