Class CreateAttributeDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datacatalog.model.CreateAttributeDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class CreateAttributeDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Properties used in attribute create operations.
Note: Objects should always be created or deserialized using theCreateAttributeDetails.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 theCreateAttributeDetails.Builder
, which maintain a set of all explicitly set fields calledCreateAttributeDetails.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 Summary
Nested Classes Modifier and Type Class Description static class
CreateAttributeDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateAttributeDetails(String displayName, String businessName, String description, String externalDataType, Boolean isIncrementalData, Boolean isNullable, Long length, Integer position, Integer precision, Integer scale, Date timeExternal, Integer minCollectionCount, Integer maxCollectionCount, String externalDatatypeEntityKey, String externalParentAttributeKey, List<CustomPropertySetUsage> customPropertyMembers, String typeKey, Map<String,Map<String,String>> properties)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateAttributeDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getBusinessName()
Optional user friendly business name of the attribute.List<CustomPropertySetUsage>
getCustomPropertyMembers()
The list of customized properties along with the values for this objectString
getDescription()
Detailed description of the attribute.String
getDisplayName()
A user-friendly display name.String
getExternalDataType()
Data type of the attribute as defined in the external system.String
getExternalDatatypeEntityKey()
External entity key that represents the datatype of this attribute , applicable if this attribute is a complex type.String
getExternalParentAttributeKey()
External attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex type.Boolean
getIsIncrementalData()
Property that identifies if this attribute can be used as a watermark to extract incremental data.Boolean
getIsNullable()
Property that identifies if this attribute can be assigned null values.Long
getLength()
Max allowed length of the attribute value.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.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.Integer
getPosition()
Position of the attribute in the record definition.Integer
getPrecision()
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.Integer
getScale()
Scale of the attribute value usually applies to float data type.Date
getTimeExternal()
Last modified timestamp of this object in the external system.String
getTypeKey()
Type key of the object.int
hashCode()
CreateAttributeDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateAttributeDetails
@Deprecated @ConstructorProperties({"displayName","businessName","description","externalDataType","isIncrementalData","isNullable","length","position","precision","scale","timeExternal","minCollectionCount","maxCollectionCount","externalDatatypeEntityKey","externalParentAttributeKey","customPropertyMembers","typeKey","properties"}) public CreateAttributeDetails(String displayName, String businessName, String description, String externalDataType, Boolean isIncrementalData, Boolean isNullable, Long length, Integer position, Integer precision, Integer scale, Date timeExternal, Integer minCollectionCount, Integer maxCollectionCount, String externalDatatypeEntityKey, String externalParentAttributeKey, List<CustomPropertySetUsage> customPropertyMembers, String typeKey, Map<String,Map<String,String>> properties)
Deprecated.
-
-
Method Detail
-
builder
public static CreateAttributeDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateAttributeDetails.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
A user-friendly display name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns:
- the value
-
getBusinessName
public String getBusinessName()
Optional user friendly business name of the attribute.If set, this supplements the harvested display name of the object.
- Returns:
- the value
-
getDescription
public String getDescription()
Detailed description of the attribute.- Returns:
- the value
-
getExternalDataType
public String getExternalDataType()
Data type of the attribute as defined in the external system.- Returns:
- the value
-
getIsIncrementalData
public Boolean getIsIncrementalData()
Property that identifies if this attribute can be used as a watermark to extract incremental data.- Returns:
- the value
-
getIsNullable
public Boolean getIsNullable()
Property that identifies if this attribute can be assigned null values.- Returns:
- the value
-
getLength
public Long getLength()
Max allowed length of the attribute value.- Returns:
- the value
-
getPosition
public Integer getPosition()
Position of the attribute in the record definition.- Returns:
- the value
-
getPrecision
public Integer getPrecision()
Precision of the attribute value usually applies to float data type.- Returns:
- the value
-
getScale
public Integer getScale()
Scale of the attribute value usually applies to float data type.- Returns:
- the value
-
getTimeExternal
public Date getTimeExternal()
Last modified timestamp of this object in the external system.- Returns:
- the value
-
getMinCollectionCount
public 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
-
getMaxCollectionCount
public 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
-
getExternalDatatypeEntityKey
public String getExternalDatatypeEntityKey()
External entity key that represents the datatype of this attribute , applicable if this attribute is a complex type.- Returns:
- the value
-
getExternalParentAttributeKey
public 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
-
getCustomPropertyMembers
public List<CustomPropertySetUsage> getCustomPropertyMembers()
The list of customized properties along with the values for this object- Returns:
- the value
-
getTypeKey
public String getTypeKey()
Type key of the object.Type keys can be found via the ‘/types’ endpoint.
- Returns:
- the value
-
getProperties
public 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. To determine the set of required and optional properties for an attribute type, a query can be done on ‘/types?type=attribute’ that returns a collection of all attribute types. The appropriate attribute type, which will include definitions of all of it’s properties, can be identified from this collection. Example: {“properties”: { “default”: { “key1”: “value1”}}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-