public class BooleanAttributeMetadata extends AttributeMetadata implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
BooleanAttributeMetadata.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
defaultValue |
protected String |
formulaDefinition |
protected Integer |
sourceTypeMask |
attributeOf, attributeType, attributeTypeName, autoNumberFormat, canBeSecuredForCreate, canBeSecuredForRead, canBeSecuredForUpdate, canModifyAdditionalSettings, columnNumber, createdOn, deprecatedVersion, description, displayName, entityLogicalName, externalName, inheritsFrom, introducedVersion, isAuditEnabled, isCustomAttribute, isCustomizable, isDataSourceSecret, isFilterable, isGlobalFilterEnabled, isLogical, isManaged, isPrimaryId, isPrimaryName, isRenameable, isRequiredForForm, isRetrievable, isSearchable, isSecured, isSortableEnabled, isValidForAdvancedFind, isValidForCreate, isValidForForm, isValidForGrid, isValidForRead, isValidForUpdate, isValidODataAttribute, linkedAttributeId, logicalName, modifiedOn, requiredLevel, schemaName, sourceTypehasChanged, metadataIdchangedFields, contextPath, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
BooleanAttributeMetadata() |
| Modifier and Type | Method and Description |
|---|---|
static BooleanAttributeMetadata.Builder |
builderBooleanAttributeMetadata()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getDefaultValue() |
Optional<String> |
getFormulaDefinition() |
BooleanOptionSetMetadataRequest |
getGlobalOptionSet() |
BooleanOptionSetMetadataRequest |
getOptionSet() |
Optional<Integer> |
getSourceTypeMask() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
BooleanAttributeMetadata |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
BooleanAttributeMetadata |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
BooleanAttributeMetadata |
withDefaultValue(Boolean defaultValue) |
BooleanAttributeMetadata |
withFormulaDefinition(String formulaDefinition) |
BooleanAttributeMetadata |
withSourceTypeMask(Integer sourceTypeMask) |
BooleanAttributeMetadata |
withUnmappedField(String name,
String value) |
builderAttributeMetadata, getAttributeOf, getAttributeType, getAttributeTypeName, getAutoNumberFormat, getCanBeSecuredForCreate, getCanBeSecuredForRead, getCanBeSecuredForUpdate, getCanModifyAdditionalSettings, getColumnNumber, getCreatedOn, getDeprecatedVersion, getDescription, getDisplayName, getEntityLogicalName, getExternalName, getInheritsFrom, getIntroducedVersion, getIsAuditEnabled, getIsCustomAttribute, getIsCustomizable, getIsDataSourceSecret, getIsFilterable, getIsGlobalFilterEnabled, getIsLogical, getIsManaged, getIsPrimaryId, getIsPrimaryName, getIsRenameable, getIsRequiredForForm, getIsRetrievable, getIsSearchable, getIsSecured, getIsSortableEnabled, getIsValidForAdvancedFind, getIsValidForCreate, getIsValidForForm, getIsValidForGrid, getIsValidForRead, getIsValidForUpdate, getIsValidODataAttribute, getLinkedAttributeId, getLogicalName, getModifiedOn, getRequiredLevel, getSchemaName, getSourceType, withAttributeOf, withAttributeType, withAttributeTypeName, withAutoNumberFormat, withCanBeSecuredForCreate, withCanBeSecuredForRead, withCanBeSecuredForUpdate, withCanModifyAdditionalSettings, withColumnNumber, withCreatedOn, withDeprecatedVersion, withDescription, withDisplayName, withEntityLogicalName, withExternalName, withInheritsFrom, withIntroducedVersion, withIsAuditEnabled, withIsCustomAttribute, withIsCustomizable, withIsDataSourceSecret, withIsFilterable, withIsGlobalFilterEnabled, withIsLogical, withIsManaged, withIsPrimaryId, withIsPrimaryName, withIsRenameable, withIsRequiredForForm, withIsRetrievable, withIsSearchable, withIsSecured, withIsSortableEnabled, withIsValidForAdvancedFind, withIsValidForCreate, withIsValidForForm, withIsValidForGrid, withIsValidForRead, withIsValidForUpdate, withIsValidODataAttribute, withLinkedAttributeId, withLogicalName, withModifiedOn, withRequiredLevel, withSchemaName, withSourceTypegetHasChanged, getMetadataId, withHasChanged, withMetadataIdprotected Boolean defaultValue
protected String formulaDefinition
protected Integer sourceTypeMask
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class AttributeMetadatapublic static BooleanAttributeMetadata.Builder builderBooleanAttributeMetadata()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class AttributeMetadatapublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class AttributeMetadatapublic BooleanAttributeMetadata withDefaultValue(Boolean defaultValue)
public BooleanAttributeMetadata withFormulaDefinition(String formulaDefinition)
public BooleanAttributeMetadata withSourceTypeMask(Integer sourceTypeMask)
public BooleanAttributeMetadata withUnmappedField(String name, String value)
withUnmappedField in class AttributeMetadatapublic BooleanOptionSetMetadataRequest getOptionSet()
public BooleanOptionSetMetadataRequest getGlobalOptionSet()
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class AttributeMetadatapublic BooleanAttributeMetadata patch()
this with changed fields reset.patch in class AttributeMetadatathis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic BooleanAttributeMetadata put()
this
with changed fields reset (they were ignored anyway).put in class AttributeMetadatathis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class AttributeMetadataCopyright © 2018–2020. All rights reserved.