@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class CustomPropertySummary extends Object
Summary of a custom property
CustomPropertySummary.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 CustomPropertySummary.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
CustomPropertySummary.Builder |
Constructor and Description |
---|
CustomPropertySummary(String key,
String displayName,
String description,
CustomPropertyDataType dataType,
String namespaceName,
Boolean isSortable,
Boolean isFilterable,
Boolean isMultiValued,
Boolean isHidden,
Boolean isEditable,
Boolean isServiceDefined,
Boolean isHiddenInSearch,
Date timeCreated,
LifecycleState lifecycleState,
Integer usageCount,
List<CustomPropertyTypeUsage> scope,
List<String> allowedValues)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CustomPropertySummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
List<String> |
getAllowedValues()
Allowed values for the custom property if any
|
CustomPropertyDataType |
getDataType()
Data type of the custom property
|
String |
getDescription()
Description of the custom property
|
String |
getDisplayName()
Display name of the custom property
|
Boolean |
getIsEditable()
If this field is a editable field
|
Boolean |
getIsFilterable()
If this field allows to filter or create facets from UI
|
Boolean |
getIsHidden()
If this field is a hidden field
|
Boolean |
getIsHiddenInSearch()
If this field is allowed to pop in search results
|
Boolean |
getIsMultiValued()
If this field allows multiple values to be set
|
Boolean |
getIsServiceDefined()
If this field is defined by service or by a user
|
Boolean |
getIsSortable()
If this field allows to sort from UI
|
String |
getKey()
Unique custom property key that is immutable.
|
LifecycleState |
getLifecycleState()
The current state of the custom property.
|
String |
getNamespaceName()
Namespace name of the custom property
|
List<CustomPropertyTypeUsage> |
getScope()
Type or scope of the custom property belongs to.
|
Date |
getTimeCreated()
The date and time the custom property was created, in the format defined by RFC3339.
|
Integer |
getUsageCount()
Total number of first class objects using this custom property
|
int |
hashCode() |
CustomPropertySummary.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"key","displayName","description","dataType","namespaceName","isSortable","isFilterable","isMultiValued","isHidden","isEditable","isServiceDefined","isHiddenInSearch","timeCreated","lifecycleState","usageCount","scope","allowedValues"}) @Deprecated public CustomPropertySummary(String key, String displayName, String description, CustomPropertyDataType dataType, String namespaceName, Boolean isSortable, Boolean isFilterable, Boolean isMultiValued, Boolean isHidden, Boolean isEditable, Boolean isServiceDefined, Boolean isHiddenInSearch, Date timeCreated, LifecycleState lifecycleState, Integer usageCount, List<CustomPropertyTypeUsage> scope, List<String> allowedValues)
public static CustomPropertySummary.Builder builder()
Create a new builder.
public CustomPropertySummary.Builder toBuilder()
public String getKey()
Unique custom property key that is immutable.
public String getDisplayName()
Display name of the custom property
public String getDescription()
Description of the custom property
public CustomPropertyDataType getDataType()
Data type of the custom property
public String getNamespaceName()
Namespace name of the custom property
public Boolean getIsSortable()
If this field allows to sort from UI
public Boolean getIsFilterable()
If this field allows to filter or create facets from UI
public Boolean getIsMultiValued()
If this field allows multiple values to be set
public Boolean getIsHidden()
If this field is a hidden field
public Boolean getIsEditable()
If this field is a editable field
public Boolean getIsServiceDefined()
If this field is defined by service or by a user
public Boolean getIsHiddenInSearch()
If this field is allowed to pop in search results
public Date getTimeCreated()
The date and time the custom property was created, in the format defined by RFC3339.
Example: 2019-03-25T21:10:29.600Z
public LifecycleState getLifecycleState()
The current state of the custom property.
public Integer getUsageCount()
Total number of first class objects using this custom property
public List<CustomPropertyTypeUsage> getScope()
Type or scope of the custom property belongs to. This will be an array of type id it will be belongs to
public List<String> getAllowedValues()
Allowed values for the custom property if any
Copyright © 2016–2021. All rights reserved.