Class AbstractField

  • Direct Known Subclasses:
    Field, FieldsAddRemoveField, FunctionField, SortField

    @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200601")
    public class AbstractField
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Generic field defining all attributes common to all querylanguage fields.
    Note: Objects should always be created or deserialized using the 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 Builder, which maintain a set of all explicitly set fields called 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

      • getDisplayName

        public String getDisplayName()
        Field display name - will be alias if field is renamed by queryStrng.
        Returns:
        the value
      • getIsDeclared

        public Boolean getIsDeclared()
        Field denoting if this is a declaration of the field in the queryString.
        Returns:
        the value
      • getOriginalDisplayNames

        public List<String> getOriginalDisplayNames()
        Same as displayName unless field renamed in which case this will hold the original display names for the field across all renames.
        Returns:
        the value
      • getInternalName

        public String getInternalName()
        Internal identifier for the field.
        Returns:
        the value
      • getValueType

        public ValueType getValueType()
        Field denoting field data type.
        Returns:
        the value
      • getIsGroupable

        public Boolean getIsGroupable()
        Identifies if this field can be used as a grouping field in any grouping command.
        Returns:
        the value
      • getIsDuration

        public Boolean getIsDuration()
        Identifies if this field format is a duration.
        Returns:
        the value
      • getAlias

        public String getAlias()
        Alias of field if renamed by queryStrng.
        Returns:
        the value
      • getFilterQueryString

        public String getFilterQueryString()
        Query used to derive this field if specified.
        Returns:
        the value
      • getUnitType

        public String getUnitType()
        Field denoting field unit type.
        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