@Entity public class GrantedAuthorityImpl extends CdmBase implements org.springframework.security.core.GrantedAuthority
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
GrantedAuthorityImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones this Granted Authority.
|
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object o)
Is
true if UUID and created timestamp (is this really needed/make sense?)
is the same for the passed Object and this one. |
java.lang.String |
getAuthority() |
static GrantedAuthorityImpl |
NewInstance(java.lang.String authority) |
void |
setAuthority(java.lang.String authority) |
java.lang.String |
toString()
Overrides
Object.toString() . |
addPropertyChangeListener, addPropertyChangeListener, addToSetWithChangeEvent, deproxy, deproxy, fireOnCreateEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUserFriendlyDescription, getUserFriendlyFieldName, getUserFriendlyTypeName, getUuid, hashCode, hasListeners, initListener, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isBlank, isInstanceOf, isNotBlank, isPersited, removeFromSetWithChangeEvent, removePropertyChangeListener, removePropertyChangeListener, replaceInList, setCreated, setCreatedBy, setId, setNewEntityListener, setUuid
public static GrantedAuthorityImpl NewInstance(java.lang.String authority)
public java.lang.String getAuthority()
getAuthority
in interface org.springframework.security.core.GrantedAuthority
public void setAuthority(java.lang.String authority)
public int compareTo(java.lang.Object o)
o
- public boolean equals(java.lang.Object o)
CdmBase
true
if UUID and created timestamp (is this really needed/make sense?)
is the same for the passed Object and this one.
This method is final as subclasses should not override it.VersionableEntity.equals(Object)
.
For discussion see #7202.
match strategy
and make sure
matching
is implemented for the respective CdmBase subclass.
You may adapt your match strategy to your own needs.
See hibernate109
, geocities
,
or ibm
for more information about equals and hashcode.
public java.lang.String toString()
CdmBase
Object.toString()
.
This returns an String that identifies the object well without being necessarily unique. Internally the method is delegating the
call to {link CdmBase.instanceToString()
.Note: If overriding this method's javadoc always copy or link the above requirement. If not overwritten by a subclass method returns the class, id and uuid as a string for any CDM object.
For example: Taxon#13<b5938a98-c1de-4dda-b040-d5cc5bfb3bc0>
public java.lang.Object clone()
clone
in class CdmBase
CdmBase.clone()
,
Object.clone()
Copyright © 2007-2020 EDIT. All Rights Reserved.