Package org.cyclos.entities
Class BaseEntity
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
- Direct Known Subclasses:
AbstractProductContactField,AbstractProductNotification,AbstractProductProfileField,Address,AdminProductAuthorizationRole,AdQuestion,AdWebShopSetting,AuthorizationLevel,BaseAccountNotificationSettings,BaseStaticContent,BasicUser,Brokering,BulkAction,ChannelConfiguration,ConfigurationGuestProfileField,Contact,CustomFieldPossibleValue,CustomFieldValue,CustomOperationAction,CustomOperationActionParameter,DataTranslation,DRateCreationValueForTransferType,FormFieldsWizardStepField,ImportedFile,ImportedLine,ImportedLineValue,MemberProductCustomOperation,MemberProductCustomWizard,NamedEntity,NotificationSettings,NotificationTypeSettings,Order,OrderProduct,Password,ProductAccessClient,ProductAdField,ProductManagement,ProductPasswordAction,ProductRecordField,ProductRecordType,ProductTokenType,ProductTransferStatusFlow,ProductVoucher,RateParameters,Record,Reference,ScriptStorage,Token,Transaction,TransferTransferStatusFlow,TranslationMessage,UserAccountVisibilitySettings,UserChannel,Voucher,VoucherPack
@MappedSuperclass public abstract class BaseEntity extends NetworkedEntity
Base class for most entities. Besides having the generated id (inherited fromSimpleEntity), this class has a version (optimistic locking), has aNetworkreference and a data translation type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description BaseEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTranslationTypegetDataTranslationType()If this entity allows data translation, should return the translation typeIntegergetVersion()-
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, toShortString, toString, 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.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
If this entity allows data translation, should return the translation type
-
getVersion
public Integer getVersion()
-
-