@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class DerivedType extends BaseType
A DerivedType
object represents a more complex type that is derived from a set of simple
types, for example an Address
or SSN
data type.
Note: Objects should always be created or deserialized using the DerivedType.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 DerivedType.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
DerivedType.Builder |
BaseType.ModelType
Constructor and Description |
---|
DerivedType(String key,
String modelVersion,
ParentReference parentRef,
String name,
Integer objectStatus,
String description)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DerivedType.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
int |
hashCode() |
DerivedType.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDescription, getKey, getModelVersion, getName, getObjectStatus, getParentRef
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public DerivedType(String key, String modelVersion, ParentReference parentRef, String name, Integer objectStatus, String description)
public static DerivedType.Builder builder()
Create a new builder.
public DerivedType.Builder toBuilder()
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
Copyright © 2016–2023. All rights reserved.