Class Attribute
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datacatalog.model.Attribute
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class Attribute extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails of an entity attribute.An attribute of a data entity describing an item of data, with a name and data type. Synonymous with ‘column’ in a database. 
 Note: Objects should always be created or deserialized using theAttribute.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 theAttribute.Builder, which maintain a set of all explicitly set fields calledAttribute.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 classAttribute.Builder
 - 
Constructor SummaryConstructors Constructor Description Attribute(String key, String displayName, String businessName, String description, String entityKey, LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, String createdById, String updatedById, String externalDataType, String externalKey, Boolean isIncrementalData, Boolean isNullable, String typeKey, Integer minCollectionCount, Integer maxCollectionCount, String datatypeEntityKey, String externalDatatypeEntityKey, String parentAttributeKey, String externalParentAttributeKey, Long length, Integer position, Integer precision, Integer scale, Date timeExternal, Date timeHarvested, List<ObjectRelationship> objectRelationships, Boolean isDerivedAttribute, String uri, String path, List<CustomPropertyGetUsage> customPropertyMembers, Map<String,Map<String,String>> properties, List<RuleType> associatedRuleTypes)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Attribute.Builderbuilder()Create a new builder.booleanequals(Object o)List<RuleType>getAssociatedRuleTypes()Rule types associated with attribute.StringgetBusinessName()Optional user friendly business name of the attribute.StringgetCreatedById()OCID of the user who created this attribute in the data catalog.List<CustomPropertyGetUsage>getCustomPropertyMembers()The list of customized properties along with the values for this objectStringgetDatatypeEntityKey()Entity key that represents the datatype of this attribute , applicable if this attribute is a complex type.StringgetDescription()Detailed description of the attribute.StringgetDisplayName()A user-friendly display name.StringgetEntityKey()The unique key of the parent entity.StringgetExternalDataType()Data type of the attribute as defined in the external system.StringgetExternalDatatypeEntityKey()External entity key that represents the datatype of this attribute , applicable if this attribute is a complex type.StringgetExternalKey()Unique external key of this attribute in the external source system.StringgetExternalParentAttributeKey()External attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex type.BooleangetIsDerivedAttribute()Whether a column is derived or not.BooleangetIsIncrementalData()Property that identifies if this attribute can be used as a watermark to extract incremental data.BooleangetIsNullable()Property that identifies if this attribute can be assigned null values.StringgetKey()Unique attribute key that is immutable.LonggetLength()Max allowed length of the attribute value.StringgetLifecycleDetails()A message describing the current state in more detail.LifecycleStategetLifecycleState()State of the attribute.IntegergetMaxCollectionCount()The maximum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type.IntegergetMinCollectionCount()The minimum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type.List<ObjectRelationship>getObjectRelationships()List of objects and their relationships to this attribute.StringgetParentAttributeKey()Attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex datatype.StringgetPath()Full path of the attribute.IntegergetPosition()Position of the attribute in the record definition.IntegergetPrecision()Precision of the attribute value usually applies to float data type.Map<String,Map<String,String>>getProperties()A map of maps that contains the properties which are specific to the attribute type.IntegergetScale()Scale of the attribute value usually applies to float data type.DategetTimeCreated()The date and time the attribute 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 attribute was harvested, in the format defined by RFC3339.DategetTimeUpdated()The last time that any change was made to the attribute.StringgetTypeKey()The type of the attribute.StringgetUpdatedById()OCID of the user who modified this attribute in the data catalog.StringgetUri()URI to the attribute instance in the API.inthashCode()Attribute.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Attribute@Deprecated @ConstructorProperties({"key","displayName","businessName","description","entityKey","lifecycleState","lifecycleDetails","timeCreated","timeUpdated","createdById","updatedById","externalDataType","externalKey","isIncrementalData","isNullable","typeKey","minCollectionCount","maxCollectionCount","datatypeEntityKey","externalDatatypeEntityKey","parentAttributeKey","externalParentAttributeKey","length","position","precision","scale","timeExternal","timeHarvested","objectRelationships","isDerivedAttribute","uri","path","customPropertyMembers","properties","associatedRuleTypes"}) public Attribute(String key, String displayName, String businessName, String description, String entityKey, LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, String createdById, String updatedById, String externalDataType, String externalKey, Boolean isIncrementalData, Boolean isNullable, String typeKey, Integer minCollectionCount, Integer maxCollectionCount, String datatypeEntityKey, String externalDatatypeEntityKey, String parentAttributeKey, String externalParentAttributeKey, Long length, Integer position, Integer precision, Integer scale, Date timeExternal, Date timeHarvested, List<ObjectRelationship> objectRelationships, Boolean isDerivedAttribute, String uri, String path, List<CustomPropertyGetUsage> customPropertyMembers, Map<String,Map<String,String>> properties, List<RuleType> associatedRuleTypes) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Attribute.Builder builder() Create a new builder.
 - 
toBuilderpublic Attribute.Builder toBuilder() 
 - 
getKeypublic String getKey() Unique attribute 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 attribute.If set, this supplements the harvested display name of the object. - Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() Detailed description of the attribute.- Returns:
- the value
 
 - 
getEntityKeypublic String getEntityKey() The unique key of the parent entity.- Returns:
- the value
 
 - 
getLifecycleStatepublic LifecycleState getLifecycleState() State of the attribute.- 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
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time the attribute 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 attribute.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getCreatedByIdpublic String getCreatedById() OCID of the user who created this attribute in the data catalog.- Returns:
- the value
 
 - 
getUpdatedByIdpublic String getUpdatedById() OCID of the user who modified this attribute in the data catalog.- Returns:
- the value
 
 - 
getExternalDataTypepublic String getExternalDataType() Data type of the attribute as defined in the external system.Type mapping across systems can be achieved through term associations across domains in the ontology. The attribute can also be tagged to the datatype in the domain ontology to resolve any ambiguity arising from type name similarity that can occur with user defined types. - Returns:
- the value
 
 - 
getExternalKeypublic String getExternalKey() Unique external key of this attribute in the external source system.- Returns:
- the value
 
 - 
getIsIncrementalDatapublic Boolean getIsIncrementalData() Property that identifies if this attribute can be used as a watermark to extract incremental data.- Returns:
- the value
 
 - 
getIsNullablepublic Boolean getIsNullable() Property that identifies if this attribute can be assigned null values.- Returns:
- the value
 
 - 
getTypeKeypublic String getTypeKey() The type of the attribute.Type keys can be found via the ‘/types’ endpoint. - Returns:
- the value
 
 - 
getMinCollectionCountpublic Integer getMinCollectionCount() The minimum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type.- Returns:
- the value
 
 - 
getMaxCollectionCountpublic Integer getMaxCollectionCount() The maximum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type.For type specifications in systems that specify only “capacity” without upper or lower bound , this property can also be used to just mean “capacity”. Some examples are Varray size in Oracle , Occurs Clause in Cobol , capacity in XmlSchemaObjectCollection , maxOccurs in Xml , maxItems in Json - Returns:
- the value
 
 - 
getDatatypeEntityKeypublic String getDatatypeEntityKey() Entity key that represents the datatype of this attribute , applicable if this attribute is a complex type.- Returns:
- the value
 
 - 
getExternalDatatypeEntityKeypublic String getExternalDatatypeEntityKey() External entity key that represents the datatype of this attribute , applicable if this attribute is a complex type.- Returns:
- the value
 
 - 
getParentAttributeKeypublic String getParentAttributeKey() Attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex datatype.- Returns:
- the value
 
 - 
getExternalParentAttributeKeypublic String getExternalParentAttributeKey() External attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex type.- Returns:
- the value
 
 - 
getLengthpublic Long getLength() Max allowed length of the attribute value.- Returns:
- the value
 
 - 
getPositionpublic Integer getPosition() Position of the attribute in the record definition.- Returns:
- the value
 
 - 
getPrecisionpublic Integer getPrecision() Precision of the attribute value usually applies to float data type.- Returns:
- the value
 
 - 
getScalepublic Integer getScale() Scale of the attribute value usually applies to float data type.- 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 attribute was harvested, in the format defined by RFC3339.- Returns:
- the value
 
 - 
getObjectRelationshipspublic List<ObjectRelationship> getObjectRelationships() List of objects and their relationships to this attribute.- Returns:
- the value
 
 - 
getIsDerivedAttributepublic Boolean getIsDerivedAttribute() Whether a column is derived or not.- Returns:
- the value
 
 - 
getUripublic String getUri() URI to the attribute instance in the API.- Returns:
- the value
 
 - 
getPathpublic String getPath() Full path of the attribute.- 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 attribute type.Each attribute 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 attributes have required properties within the “default” category. Example: {“properties”: { “default”: { “key1”: “value1”}}} - Returns:
- the value
 
 - 
getAssociatedRuleTypespublic List<RuleType> getAssociatedRuleTypes() Rule types associated with attribute.- 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
 
 
- 
 
-