Class AbstractField
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.loganalytics.model.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.ExplicitlySetBmcModelGeneric field defining all attributes common to all querylanguage fields.
 Note: Objects should always be created or deserialized using theBuilder. 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 theBuilder, which maintain a set of all explicitly set fields calledBuilder#__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAbstractField.NameField type classification.
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractField(String displayName, Boolean isDeclared, List<String> originalDisplayNames, String internalName, ValueType valueType, Boolean isGroupable, Boolean isDuration, String alias, String filterQueryString, String unitType)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAlias()Alias of field if renamed by queryStrng.StringgetDisplayName()Field display name - will be alias if field is renamed by queryStrng.StringgetFilterQueryString()Query used to derive this field if specified.StringgetInternalName()Internal identifier for the field.BooleangetIsDeclared()Field denoting if this is a declaration of the field in the queryString.BooleangetIsDuration()Identifies if this field format is a duration.BooleangetIsGroupable()Identifies if this field can be used as a grouping field in any grouping command.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.StringgetUnitType()Field denoting field unit type.ValueTypegetValueType()Field denoting field data type.inthashCode()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
AbstractField@Deprecated @ConstructorProperties({"displayName","isDeclared","originalDisplayNames","internalName","valueType","isGroupable","isDuration","alias","filterQueryString","unitType"}) protected AbstractField(String displayName, Boolean isDeclared, List<String> originalDisplayNames, String internalName, ValueType valueType, Boolean isGroupable, Boolean isDuration, String alias, String filterQueryString, String unitType) Deprecated.
 
- 
 - 
Method Detail- 
getDisplayNamepublic String getDisplayName() Field display name - will be alias if field is renamed by queryStrng.- Returns:
- the value
 
 - 
getIsDeclaredpublic Boolean getIsDeclared() Field denoting if this is a declaration of the field in the queryString.- Returns:
- the value
 
 - 
getOriginalDisplayNamespublic 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
 
 - 
getInternalNamepublic String getInternalName() Internal identifier for the field.- Returns:
- the value
 
 - 
getValueTypepublic ValueType getValueType() Field denoting field data type.- Returns:
- the value
 
 - 
getIsGroupablepublic Boolean getIsGroupable() Identifies if this field can be used as a grouping field in any grouping command.- Returns:
- the value
 
 - 
getIsDurationpublic Boolean getIsDuration() Identifies if this field format is a duration.- Returns:
- the value
 
 - 
getAliaspublic String getAlias() Alias of field if renamed by queryStrng.- Returns:
- the value
 
 - 
getFilterQueryStringpublic String getFilterQueryString() Query used to derive this field if specified.- Returns:
- the value
 
 - 
getUnitTypepublic String getUnitType() Field denoting field unit type.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-