@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class Entity extends Object
Data 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.
Entity.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 the Entity.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
Entity.Builder |
Constructor and Description |
---|
Entity(String key,
String displayName,
String description,
Date timeCreated,
Date timeUpdated,
String createdById,
String updatedById,
LifecycleState lifecycleState,
String externalKey,
String patternKey,
String realizedExpression,
Date timeExternal,
Date timeStatusUpdated,
Boolean isLogical,
Boolean isPartition,
String dataAssetKey,
String folderKey,
String folderName,
String path,
HarvestStatus harvestStatus,
String lastJobKey,
String typeKey,
String uri,
List<CustomPropertyGetUsage> customPropertyMembers,
Map<String,Map<String,String>> properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Entity.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCreatedById()
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 object
|
String |
getDataAssetKey()
Unique key of the parent data asset.
|
String |
getDescription()
Detailed description of a data entity.
|
String |
getDisplayName()
A user-friendly display name.
|
String |
getExternalKey()
Unique external key of this object in the source system.
|
String |
getFolderKey()
Key of the associated folder.
|
String |
getFolderName()
Name of the associated folder.
|
HarvestStatus |
getHarvestStatus()
Status of the object as updated by the harvest process.
|
Boolean |
getIsLogical()
Property that identifies if the object is a physical object (materialized) or virtual/logical object
defined on other objects.
|
Boolean |
getIsPartition()
Property that identifies if an object is a sub object of a physical or materialized parent object.
|
String |
getKey()
Unique data entity key that is immutable.
|
String |
getLastJobKey()
Key of the last harvest process to update this object.
|
LifecycleState |
getLifecycleState()
The current state of the data entity.
|
String |
getPath()
Full path of the data entity.
|
String |
getPatternKey()
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.
|
String |
getRealizedExpression()
The expression realized after resolving qualifiers .
|
Date |
getTimeCreated()
The date and time the data entity was created, in the format defined by RFC3339.
|
Date |
getTimeExternal()
Last modified timestamp of this object in the external system.
|
Date |
getTimeStatusUpdated()
Time that the data entities status was last updated.
|
Date |
getTimeUpdated()
The last time that any change was made to the data entity.
|
String |
getTypeKey()
The type of data entity object.
|
String |
getUpdatedById()
OCID of the user who updated this object in the data catalog.
|
String |
getUri()
URI to the data entity instance in the API.
|
int |
hashCode() |
Entity.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"key","displayName","description","timeCreated","timeUpdated","createdById","updatedById","lifecycleState","externalKey","patternKey","realizedExpression","timeExternal","timeStatusUpdated","isLogical","isPartition","dataAssetKey","folderKey","folderName","path","harvestStatus","lastJobKey","typeKey","uri","customPropertyMembers","properties"}) @Deprecated public Entity(String key, String displayName, String description, Date timeCreated, Date timeUpdated, String createdById, String updatedById, LifecycleState lifecycleState, String externalKey, String patternKey, String realizedExpression, Date timeExternal, Date timeStatusUpdated, Boolean isLogical, Boolean isPartition, String dataAssetKey, String folderKey, String folderName, String path, HarvestStatus harvestStatus, String lastJobKey, String typeKey, String uri, List<CustomPropertyGetUsage> customPropertyMembers, Map<String,Map<String,String>> properties)
public static Entity.Builder builder()
Create a new builder.
public Entity.Builder toBuilder()
public String getKey()
Unique data entity key that is immutable.
public String getDisplayName()
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
public String getDescription()
Detailed description of a data entity.
public Date getTimeCreated()
The date and time the data entity was created, in the format defined by RFC3339.
Example: 2019-03-25T21:10:29.600Z
public Date getTimeUpdated()
The last time that any change was made to the data entity. An RFC3339 formatted datetime string.
public String getCreatedById()
OCID of the user who created this object in the data catalog.
public String getUpdatedById()
OCID of the user who updated this object in the data catalog.
public LifecycleState getLifecycleState()
The current state of the data entity.
public String getExternalKey()
Unique external key of this object in the source system.
public String getPatternKey()
Key of the associated pattern if this is a logical entity.
public String getRealizedExpression()
The expression realized after resolving qualifiers . Used in deriving this logical entity
public Date getTimeExternal()
Last modified timestamp of this object in the external system.
public Date getTimeStatusUpdated()
Time that the data entities status was last updated. An RFC3339 formatted datetime string.
public Boolean getIsLogical()
Property that identifies if the object is a physical object (materialized) or virtual/logical object defined on other objects.
public Boolean getIsPartition()
Property that identifies if an object is a sub object of a physical or materialized parent object.
public String getDataAssetKey()
Unique key of the parent data asset.
public String getFolderKey()
Key of the associated folder.
public 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.
public String getPath()
Full path of the data entity.
public HarvestStatus getHarvestStatus()
Status of the object as updated by the harvest process.
public String getLastJobKey()
Key of the last harvest process to update this object.
public String getTypeKey()
The type of data entity object. Type key’s can be found via the ‘/types’ endpoint.
public String getUri()
URI to the data entity instance in the API.
public List<CustomPropertyGetUsage> getCustomPropertyMembers()
The list of customized properties along with the values for this object
public 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\"}}}
Copyright © 2016–2021. All rights reserved.