Interface IEntity

All Superinterfaces:
org.apache.cayenne.Persistent, Serializable
All Known Implementing Classes:
_ApplicationClientProperty, _ApplicationClientRefData, _ApplicationConnection, _ApplicationDelivery, _ApplicationForm, _ApplicationPackage, _ApplicationService, _Attachment, _AuditLog, _AuthenticationProvider, _AuthProviderParameter, _Category, _Client, _ClientKeystore, _ClientMetadataValue, _ClientPortal, _ClientProperty, _ClientReconciliationFile, _ClientRefData, _ClientRefDataData, _ClientUser, _ComposerImportAction, _ComposerPackageData, _ComposerPackageQueue, _DbVersionUpdate, _DeliveryDetails, _DeploymentProperty, _DocumentType, _EmailQueue, _EmailQueueData, _ErrorLog, _ErrorLogData, _EventLog, _EventOutbox, _FileUpload, _FileUploadData, _Folder, _Form, _FormCategory, _FormDesign, _FormDesignVersion, _FormDesignVersionInclude, _FormDesignVersionProperty, _FormFunction, _FormGroup, _FormPortal, _FormReceiptSequence, _GroovyServiceLog, _GroovyServiceLogData, _Group, _GroupAgentLock, _ImportAction, _ImportActionData, _ImportActionDetail, _Job, _JobAction, _JobComment, _JobEventLog, _JobGroup, _JobHistory, _JobProperty, _JobStatusHistory, _JobStep, _Library, _LibraryResource, _LibraryResourceData, _LibraryResourceHistory, _LibraryShare, _MetadataListValue, _MetadataTag, _Notification, _PaymentItem, _PaymentLog, _Permission, _Portal, _PortalPage, _PortalPageHistory, _PortalProperty, _PortalResource, _PortalResourceHistory, _PortalUser, _PrefillParamXpathMap, _ProcessingStatus, _Project, _ProjectFormTag, _ProjectFormTagData, _ProjectInclude, _PromotionLog, _PropertyPrefillMap, _PropertyType, _ReleaseVersion, _RequestLog, _RequiredAttachment, _Role, _RolePermission, _ScheduledJobHistory, _SchemaExtractMap, _SchemaSeed, _SecurityManager, _SecurityManagerLog, _SecurityManagerLogData, _SecurityManagerParameter, _ServerHealthStatusMetric, _ServerNode, _ServiceConnection, _ServiceDefinition, _ServiceParameter, _ServiceParameterHistory, _Submission, _SubmissionAsyncMsg, _SubmissionAsyncMsgBody, _SubmissionAttribute, _SubmissionComment, _SubmissionData, _SubmissionDeliveryCheckpoint, _SubmissionDeliveryFunc, _SubmissionExtractData, _SubmissionExtractJson, _SubmissionExtractSearch, _SubmissionGroup, _SubmissionHistory, _SubmissionHistoryData, _SubmissionMilestone, _SubmissionProperty, _SubmissionPropertySearch, _SubmissionServiceLog, _SubmissionValidationError, _SystemHealth, _TemplateVersion, _TemplateVersionData, _TemplateVersionDeployment, _TPac, _TPacData, _TransactionHistory, _TransactionLookup, _UserAccount, _UserAuthEvent, _UserGroup, _UserPortalPref, _UserProfile, _UserProperty, _UserRole, _VersionAttachment, _VersionMetadataValue, _VersionPropertyValue, _XmlInputMap, ApplicationClientProperty, ApplicationClientRefData, ApplicationConnection, ApplicationDelivery, ApplicationForm, ApplicationPackage, ApplicationService, Attachment, AuditLog, AuthenticationProvider, AuthProviderParameter, BaseEntity, Category, Client, ClientKeystore, ClientMetadataValue, ClientPortal, ClientProperty, ClientReconciliationFile, ClientRefData, ClientRefDataData, ClientUser, ComposerImportAction, ComposerPackageData, ComposerPackageQueue, DbVersionUpdate, DeliveryDetails, DeploymentProperty, DocumentType, EmailQueue, EmailQueueData, ErrorLog, ErrorLogData, EventLog, EventOutbox, FileUpload, FileUploadData, Folder, Form, FormCategory, FormDesign, FormDesignVersion, FormDesignVersionInclude, FormDesignVersionProperty, FormFunction, FormGroup, FormPortal, FormReceiptSequence, GroovyServiceLog, GroovyServiceLogData, Group, GroupAgentLock, ImportAction, ImportActionData, ImportActionDetail, Job, JobAction, JobComment, JobEventLog, JobGroup, JobHistory, JobProperty, JobStatusHistory, JobStep, Library, LibraryResource, LibraryResourceData, LibraryResourceHistory, LibraryShare, MetadataListValue, MetadataTag, Notification, PaymentItem, PaymentLog, Permission, Portal, PortalPage, PortalPageHistory, PortalProperty, PortalResource, PortalResourceHistory, PortalUser, PrefillParamXpathMap, ProcessingStatus, Project, ProjectFormTag, ProjectFormTagData, ProjectInclude, PromotionLog, PropertyPrefillMap, PropertyType, ReleaseVersion, RequestLog, RequiredAttachment, Role, RolePermission, ScheduledJobHistory, SchemaExtractMap, SchemaSeed, SecurityManager, SecurityManagerLog, SecurityManagerLogData, SecurityManagerParameter, ServerHealthStatusMetric, ServerNode, ServiceConnection, ServiceDefinition, ServiceParameter, ServiceParameterHistory, Submission, SubmissionAsyncMsg, SubmissionAsyncMsgBody, SubmissionAttribute, SubmissionComment, SubmissionData, SubmissionDeliveryCheckpoint, SubmissionDeliveryFunc, SubmissionExtractData, SubmissionExtractJson, SubmissionExtractSearch, SubmissionGroup, SubmissionHistory, SubmissionHistoryData, SubmissionMilestone, SubmissionProperty, SubmissionPropertySearch, SubmissionServiceLog, SubmissionValidationError, SystemHealth, TemplateVersion, TemplateVersionData, TemplateVersionDeployment, TPac, TPacData, TransactionHistory, TransactionLookup, UserAccount, UserAuthEvent, UserGroup, UserPortalPref, UserProfile, UserProperty, UserRole, VersionAttachment, VersionMetadataValue, VersionPropertyValue, XmlInputMap

public interface IEntity extends org.apache.cayenne.Persistent
Provides an interface for the base Entity
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the surrogate primary key of the object.
    boolean
    Return true if the object is new or transient object.
    void
    setId(Long id)
    Set the surrogate primary key of the object.

    Methods inherited from interface org.apache.cayenne.Persistent

    getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
  • Method Details

    • getId

      Long getId()
      Return the surrogate primary key of the object.
      Returns:
      the surrogate primary key of the object
    • setId

      void setId(Long id)
      Set the surrogate primary key of the object.
      Parameters:
      id - the surrogate primary key of the object to set
    • isNew

      boolean isNew()
      Return true if the object is new or transient object.
      Returns:
      true if the object is new or transient object