Class ModelEntity
java.lang.Object
org.apache.polaris.extension.persistence.impl.eclipselink.models.ModelEntity
Entity model representing all attributes of a Polaris Entity. This is used to exchange full
entity information with ENTITIES table
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelEntity.Builderbuilder()static ModelEntityfromEntity(org.apache.polaris.core.entity.PolarisBaseEntity entity) longlonglongintintlonggetId()longgetName()longlongintlongintstatic org.apache.polaris.core.entity.PolarisBaseEntitytoEntity(ModelEntity model) voidupdate(org.apache.polaris.core.entity.PolarisBaseEntity entity)
-
Field Details
-
EMPTY_MAP_STRING
- See Also:
-
-
Constructor Details
-
ModelEntity
public ModelEntity()
-
-
Method Details
-
getId
public long getId() -
getParentId
public long getParentId() -
getTypeCode
public int getTypeCode() -
getName
-
getEntityVersion
public int getEntityVersion() -
getCatalogId
public long getCatalogId() -
getSubTypeCode
public int getSubTypeCode() -
getCreateTimestamp
public long getCreateTimestamp() -
getDropTimestamp
public long getDropTimestamp() -
getPurgeTimestamp
public long getPurgeTimestamp() -
getToPurgeTimestamp
public long getToPurgeTimestamp() -
getLastUpdateTimestamp
public long getLastUpdateTimestamp() -
getProperties
-
getInternalProperties
-
getGrantRecordsVersion
public int getGrantRecordsVersion() -
builder
-
fromEntity
-
toEntity
-
update
public void update(org.apache.polaris.core.entity.PolarisBaseEntity entity)
-