@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class CreateAttributeDetails extends Object
Properties used in attribute create operations.
Note: Objects should always be created or deserialized using the CreateAttributeDetails.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 CreateAttributeDetails.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 |
CreateAttributeDetails.Builder |
Constructor and Description |
---|
CreateAttributeDetails(String displayName,
String description,
String externalDataType,
Boolean isIncrementalData,
Boolean isNullable,
Long length,
Integer position,
Integer precision,
Integer scale,
Date timeExternal,
Map<String,Map<String,String>> properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateAttributeDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
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.
|
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 |
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.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"displayName","description","externalDataType","isIncrementalData","isNullable","length","position","precision","scale","timeExternal","properties"}) @Deprecated public CreateAttributeDetails(String displayName, String description, String externalDataType, Boolean isIncrementalData, Boolean isNullable, Long length, Integer position, Integer precision, Integer scale, Date timeExternal, Map<String,Map<String,String>> properties)
public static CreateAttributeDetails.Builder builder()
Create a new builder.
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 the attribute.
public String getExternalDataType()
Data type of the attribute as defined in the external system.
public Boolean getIsIncrementalData()
Property that identifies if this attribute can be used as a watermark to extract incremental data.
public Boolean getIsNullable()
Property that identifies if this attribute can be assigned null values.
public Long getLength()
Max allowed length of the attribute value.
public Integer getPosition()
Position of the attribute in the record definition.
public Integer getPrecision()
Precision of the attribute value usually applies to float data type.
public Integer getScale()
Scale of the attribute value usually applies to float data type.
public Date getTimeExternal()
Last modified timestamp of this object in the external system.
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\"}}}
Copyright © 2016–2020. All rights reserved.