Package org.marketcetera.admin.impl
Class SimplePermission
- java.lang.Object
-
- org.marketcetera.persist.EntityBase
-
- org.marketcetera.persist.NDEntityBase
-
- org.marketcetera.admin.impl.SimplePermission
-
- All Implemented Interfaces:
Serializable,Comparator<SimplePermission>,Permission,SummaryEntityBase,SummaryNDEntityBase,org.springframework.security.core.GrantedAuthority
public class SimplePermission extends NDEntityBase implements Permission, Comparator<SimplePermission>
Provides a simple Permission implementation.- Since:
- $Release$
- Version:
- $Id$
- Author:
- Colin DuPlantis
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID-
Fields inherited from class org.marketcetera.persist.NDEntityBase
namePattern
-
Fields inherited from class org.marketcetera.persist.EntityBase
UNINITIALIZED
-
-
Constructor Summary
Constructors Constructor Description SimplePermission()Create a new SimplePermission instance.SimplePermission(String inName, String inDescription)Create a new SimplePermission instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(SimplePermission inO1, SimplePermission inO2)booleanequals(Object obj)inthashCode()StringtoString()-
Methods inherited from class org.marketcetera.persist.NDEntityBase
getDescription, getName, setDescription, setName, validate
-
Methods inherited from class org.marketcetera.persist.EntityBase
getId, getLastUpdated, getUpdateCount, setId, setLastUpdated, setUpdateCount
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.marketcetera.admin.Permission
getAuthority
-
Methods inherited from interface org.marketcetera.persist.SummaryEntityBase
getId, getLastUpdated, getUpdateCount
-
Methods inherited from interface org.marketcetera.persist.SummaryNDEntityBase
getDescription, getName
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classNDEntityBase
-
compare
public int compare(SimplePermission inO1, SimplePermission inO2)
- Specified by:
comparein interfaceComparator<SimplePermission>
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceComparator<SimplePermission>- Overrides:
equalsin classObject
-
-