Class Entity
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datacatalog.model.Entity
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class Entity extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelData entity details.A representation of data with a set of attributes, normally representing a single business entity. Synonymous with ‘table’ or ‘view’ in a database, or a single logical file structure that one or many files may match. 
 Note: Objects should always be created or deserialized using theEntity.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theEntity.Builder, which maintain a set of all explicitly set fields calledEntity.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classEntity.Builder
 - 
Constructor SummaryConstructors Constructor Description Entity(String key, String displayName, String businessName, String description, Date timeCreated, Date timeUpdated, String createdById, String updatedById, LifecycleState lifecycleState, String lifecycleDetails, String externalKey, String patternKey, String realizedExpression, Date timeExternal, Date timeHarvested, List<ObjectRelationship> objectRelationships, Date timeStatusUpdated, Boolean isLogical, Boolean isPartition, String dataAssetKey, String folderKey, String folderName, String path, HarvestStatus harvestStatus, String lastJobKey, String typeKey, String uri, String objectStorageUrl, List<CustomPropertyGetUsage> customPropertyMembers, Map<String,Map<String,String>> properties)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Entity.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetBusinessName()Optional user friendly business name of the data entity.StringgetCreatedById()OCID of the user who created this object in the data catalog.List<CustomPropertyGetUsage>getCustomPropertyMembers()The list of customized properties along with the values for this objectStringgetDataAssetKey()Unique key of the parent data asset.StringgetDescription()Detailed description of a data entity.StringgetDisplayName()A user-friendly display name.StringgetExternalKey()Unique external key of this object in the source system.StringgetFolderKey()Key of the associated folder.StringgetFolderName()Name of the associated folder.HarvestStatusgetHarvestStatus()Status of the object as updated by the harvest process.BooleangetIsLogical()Property that identifies if the object is a physical object (materialized) or virtual/logical object defined on other objects.BooleangetIsPartition()Property that identifies if an object is a sub object of a physical or materialized parent object.StringgetKey()Unique data entity key that is immutable.StringgetLastJobKey()Key of the last harvest process to update this object.StringgetLifecycleDetails()A message describing the current state in more detail.LifecycleStategetLifecycleState()The current state of the data entity.List<ObjectRelationship>getObjectRelationships()List of objects and their relationships to this entity.StringgetObjectStorageUrl()URL of the data entity in the object store.StringgetPath()Full path of the data entity.StringgetPatternKey()Key of the associated pattern if this is a logical entity.Map<String,Map<String,String>>getProperties()A map of maps that contains the properties which are specific to the entity type.StringgetRealizedExpression()The expression realized after resolving qualifiers .DategetTimeCreated()The date and time the data entity was created, in the format defined by RFC3339.DategetTimeExternal()Last modified timestamp of this object in the external system.DategetTimeHarvested()The date and time the entity was harvested, in the format defined by RFC3339.DategetTimeStatusUpdated()Time that the data entities status was last updated.DategetTimeUpdated()The last time that any change was made to the data entity.StringgetTypeKey()The type of data entity object.StringgetUpdatedById()OCID of the user who updated this object in the data catalog.StringgetUri()URI to the data entity instance in the API.inthashCode()Entity.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Entity@Deprecated @ConstructorProperties({"key","displayName","businessName","description","timeCreated","timeUpdated","createdById","updatedById","lifecycleState","lifecycleDetails","externalKey","patternKey","realizedExpression","timeExternal","timeHarvested","objectRelationships","timeStatusUpdated","isLogical","isPartition","dataAssetKey","folderKey","folderName","path","harvestStatus","lastJobKey","typeKey","uri","objectStorageUrl","customPropertyMembers","properties"}) public Entity(String key, String displayName, String businessName, String description, Date timeCreated, Date timeUpdated, String createdById, String updatedById, LifecycleState lifecycleState, String lifecycleDetails, String externalKey, String patternKey, String realizedExpression, Date timeExternal, Date timeHarvested, List<ObjectRelationship> objectRelationships, Date timeStatusUpdated, Boolean isLogical, Boolean isPartition, String dataAssetKey, String folderKey, String folderName, String path, HarvestStatus harvestStatus, String lastJobKey, String typeKey, String uri, String objectStorageUrl, List<CustomPropertyGetUsage> customPropertyMembers, Map<String,Map<String,String>> properties) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Entity.Builder builder() Create a new builder.
 - 
toBuilderpublic Entity.Builder toBuilder() 
 - 
getKeypublic String getKey() Unique data entity key that is immutable.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() A user-friendly display name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Returns:
- the value
 
 - 
getBusinessNamepublic String getBusinessName() Optional user friendly business name of the data entity.If set, this supplements the harvested display name of the object. - Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() Detailed description of a data entity.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time the data entity was created, in the format defined by RFC3339.Example: 2019-03-25T21:10:29.600Z - Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The last time that any change was made to the data entity.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getCreatedByIdpublic String getCreatedById() OCID of the user who created this object in the data catalog.- Returns:
- the value
 
 - 
getUpdatedByIdpublic String getUpdatedById() OCID of the user who updated this object in the data catalog.- Returns:
- the value
 
 - 
getLifecycleStatepublic LifecycleState getLifecycleState() The current state of the data entity.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() A message describing the current state in more detail.An object not in ACTIVE state may have functional limitations, see service documentation for details. - Returns:
- the value
 
 - 
getExternalKeypublic String getExternalKey() Unique external key of this object in the source system.- Returns:
- the value
 
 - 
getPatternKeypublic String getPatternKey() Key of the associated pattern if this is a logical entity.- Returns:
- the value
 
 - 
getRealizedExpressionpublic String getRealizedExpression() The expression realized after resolving qualifiers .Used in deriving this logical entity - Returns:
- the value
 
 - 
getTimeExternalpublic Date getTimeExternal() Last modified timestamp of this object in the external system.- Returns:
- the value
 
 - 
getTimeHarvestedpublic Date getTimeHarvested() The date and time the entity was harvested, in the format defined by RFC3339.- Returns:
- the value
 
 - 
getObjectRelationshipspublic List<ObjectRelationship> getObjectRelationships() List of objects and their relationships to this entity.- Returns:
- the value
 
 - 
getTimeStatusUpdatedpublic Date getTimeStatusUpdated() Time that the data entities status was last updated.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getIsLogicalpublic Boolean getIsLogical() Property that identifies if the object is a physical object (materialized) or virtual/logical object defined on other objects.- Returns:
- the value
 
 - 
getIsPartitionpublic Boolean getIsPartition() Property that identifies if an object is a sub object of a physical or materialized parent object.- Returns:
- the value
 
 - 
getDataAssetKeypublic String getDataAssetKey() Unique key of the parent data asset.- Returns:
- the value
 
 - 
getFolderKeypublic String getFolderKey() Key of the associated folder.- Returns:
- the value
 
 - 
getFolderNamepublic String getFolderName() Name of the associated folder.This name is harvested from the source data asset when the parent folder for the entiy is harvested. - Returns:
- the value
 
 - 
getPathpublic String getPath() Full path of the data entity.- Returns:
- the value
 
 - 
getHarvestStatuspublic HarvestStatus getHarvestStatus() Status of the object as updated by the harvest process.- Returns:
- the value
 
 - 
getLastJobKeypublic String getLastJobKey() Key of the last harvest process to update this object.- Returns:
- the value
 
 - 
getTypeKeypublic String getTypeKey() The type of data entity object.Type key’s can be found via the ‘/types’ endpoint. - Returns:
- the value
 
 - 
getUripublic String getUri() URI to the data entity instance in the API.- Returns:
- the value
 
 - 
getObjectStorageUrlpublic String getObjectStorageUrl() URL of the data entity in the object store.- Returns:
- the value
 
 - 
getCustomPropertyMemberspublic List<CustomPropertyGetUsage> getCustomPropertyMembers() The list of customized properties along with the values for this object- Returns:
- the value
 
 - 
getPropertiespublic Map<String,Map<String,String>> getProperties() A map of maps that contains the properties which are specific to the entity type.Each entity type definition defines it’s set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data entities have required properties within the “default” category. Example: {“properties”: { “default”: { “key1”: “value1”}}} - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-