@Generated(value="OracleSDKGenerator", comments="API Version: 20210217") public final class ObjectMetadata extends ExplicitlySetBmcModel
A summary type containing information about the object including its key, name, the time that it was created or updated, and the user who created or updated it.
Note: Objects should always be created or deserialized using the ObjectMetadata.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 ObjectMetadata.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 |
ObjectMetadata.Builder |
Constructor and Description |
---|
ObjectMetadata(String createdBy,
String createdByName,
String updatedBy,
String updatedByName,
Date timeCreated,
Date timeUpdated,
String aggregatorKey,
AggregatorSummary aggregator,
String identifierPath,
Map<String,String> infoFields,
Integer registryVersion,
List<String> labels,
Boolean isFavorite)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ObjectMetadata.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
AggregatorSummary |
getAggregator() |
String |
getAggregatorKey()
The owning object key for this object.
|
String |
getCreatedBy()
The user that created the object.
|
String |
getCreatedByName()
The user that created the object.
|
String |
getIdentifierPath()
The full path to identify the object.
|
Map<String,String> |
getInfoFields()
Information property fields.
|
Boolean |
getIsFavorite()
Specifies whether this object is a favorite.
|
List<String> |
getLabels()
Labels are keywords or tags that you can add to data assets, dataflows, and so on.
|
Integer |
getRegistryVersion()
The registry version of the object.
|
Date |
getTimeCreated()
The date and time that the object was created.
|
Date |
getTimeUpdated()
The date and time that the object was updated.
|
String |
getUpdatedBy()
The user that updated the object.
|
String |
getUpdatedByName()
The user that updated the object.
|
int |
hashCode() |
ObjectMetadata.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"createdBy","createdByName","updatedBy","updatedByName","timeCreated","timeUpdated","aggregatorKey","aggregator","identifierPath","infoFields","registryVersion","labels","isFavorite"}) public ObjectMetadata(String createdBy, String createdByName, String updatedBy, String updatedByName, Date timeCreated, Date timeUpdated, String aggregatorKey, AggregatorSummary aggregator, String identifierPath, Map<String,String> infoFields, Integer registryVersion, List<String> labels, Boolean isFavorite)
public static ObjectMetadata.Builder builder()
Create a new builder.
public ObjectMetadata.Builder toBuilder()
public String getCreatedBy()
The user that created the object.
public String getCreatedByName()
The user that created the object.
public String getUpdatedBy()
The user that updated the object.
public String getUpdatedByName()
The user that updated the object.
public Date getTimeCreated()
The date and time that the object was created.
public Date getTimeUpdated()
The date and time that the object was updated.
public String getAggregatorKey()
The owning object key for this object.
public AggregatorSummary getAggregator()
public String getIdentifierPath()
The full path to identify the object.
public Map<String,String> getInfoFields()
Information property fields.
public Integer getRegistryVersion()
The registry version of the object.
public List<String> getLabels()
Labels are keywords or tags that you can add to data assets, dataflows, and so on. You can define your own labels and use them to categorize content.
public Boolean getIsFavorite()
Specifies whether this object is a favorite.
public String toString()
toString
in class 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 ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.