java.lang.Object
org.apache.polaris.extension.persistence.impl.eclipselink.models.ModelEntity

@Entity public class ModelEntity extends Object
Entity model representing all attributes of a Polaris Entity. This is used to exchange full entity information with ENTITIES table
  • Field Details

  • Constructor Details

    • ModelEntity

      public ModelEntity()
  • Method Details

    • getId

      public long getId()
    • getParentId

      public long getParentId()
    • getTypeCode

      public int getTypeCode()
    • getName

      public String 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

      public String getProperties()
    • getInternalProperties

      public String getInternalProperties()
    • getGrantRecordsVersion

      public int getGrantRecordsVersion()
    • builder

      public static ModelEntity.Builder builder()
    • fromEntity

      public static ModelEntity fromEntity(org.apache.polaris.core.entity.PolarisBaseEntity entity)
    • toEntity

      public static org.apache.polaris.core.entity.PolarisBaseEntity toEntity(ModelEntity model)
    • update

      public void update(org.apache.polaris.core.entity.PolarisBaseEntity entity)