@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class StructuredType extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A StructuredType
object represents a data type that exists in a physical data asset
object such as a table column, but is more complex. For example, an Oracle database OBJECT
type. It can be composed of multiple DataType
objects.
Note: Objects should always be created or deserialized using the StructuredType.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 StructuredType.Builder
, which maintain a
set of all explicitly set fields called StructuredType.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
StructuredType.Builder |
static class |
StructuredType.DtType
The data type.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
StructuredType(BaseType schema,
StructuredType.DtType dtType,
String typeSystemName,
ConfigDefinition configDefinition)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static StructuredType.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ConfigDefinition |
getConfigDefinition() |
StructuredType.DtType |
getDtType()
The data type.
|
BaseType |
getSchema() |
String |
getTypeSystemName()
The data type system name.
|
int |
hashCode() |
StructuredType.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"schema","dtType","typeSystemName","configDefinition"}) public StructuredType(BaseType schema, StructuredType.DtType dtType, String typeSystemName, ConfigDefinition configDefinition)
public static StructuredType.Builder builder()
Create a new builder.
public StructuredType.Builder toBuilder()
public BaseType getSchema()
public StructuredType.DtType getDtType()
The data type.
public String getTypeSystemName()
The data type system name.
public ConfigDefinition getConfigDefinition()
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.