Class ObjectMetadata


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200430")
    public final class ObjectMetadata
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    A summary type containing information about the object including its key, name and when/who created/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 ObjectMetadata.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).
    • Method Detail

      • getCreatedBy

        public String getCreatedBy()
        The user that created the object.
        Returns:
        the value
      • getCreatedByName

        public String getCreatedByName()
        The user that created the object.
        Returns:
        the value
      • getUpdatedBy

        public String getUpdatedBy()
        The user that updated the object.
        Returns:
        the value
      • getUpdatedByName

        public String getUpdatedByName()
        The user that updated the object.
        Returns:
        the value
      • getTimeCreated

        public Date getTimeCreated()
        The date and time that the object was created.
        Returns:
        the value
      • getTimeUpdated

        public Date getTimeUpdated()
        The date and time that the object was updated.
        Returns:
        the value
      • getAggregatorKey

        public String getAggregatorKey()
        The owning object key for this object.
        Returns:
        the value
      • getIdentifierPath

        public String getIdentifierPath()
        The full path to identify this object.
        Returns:
        the value
      • getInfoFields

        public Map<String,​String> getInfoFields()
        Information property fields.
        Returns:
        the value
      • getRegistryVersion

        public Integer getRegistryVersion()
        The registry version of the object.
        Returns:
        the value
      • getLabels

        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.

        Returns:
        the value
      • getIsFavorite

        public Boolean getIsFavorite()
        Specifies whether this object is a favorite or not.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel