Package org.cyclos.entities
Class ConfigurationOrderableEntity
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.ConfigurationEntity
-
- org.cyclos.entities.ConfigurationOrderableEntity
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,HasOrder,ProcessableForProxying,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
AdCategory,CustomField,CustomFieldPossibleValueCategory,CustomOperation,CustomWizard,CustomWizardStep,DocumentCategory,IdentityProvider,MessageCategory,PrincipalType,RecordSection,ServiceInterceptor,SystemImageCategory,UserSection,VoucherCategory
@MappedSuperclass public abstract class ConfigurationOrderableEntity extends ConfigurationEntity implements HasOrder
Base class for all configuration entities having a persistent order. It overrides comparison to implement it by order index instead of by internal name.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description ConfigurationOrderableEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(NamedEntity o)IntegergetOrder()voidsetOrder(Integer order)StringtoString()-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString
-
Methods inherited from class org.cyclos.entities.NamedEntity
getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.HasNetwork
getNetwork
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
compareTo
public int compareTo(NamedEntity o)
- Specified by:
compareToin interfaceComparable<NamedEntity>- Overrides:
compareToin classNamedEntity
-
toString
public String toString()
- Overrides:
toStringin classConfigurationEntity
-
-