public class IntegerAttributeMetadata extends AttributeMetadata implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
IntegerAttributeMetadata.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected IntegerFormat |
format |
protected String |
formulaDefinition |
protected Integer |
maxValue |
protected Integer |
minValue |
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 |
IntegerAttributeMetadata() |
| Modifier and Type | Method and Description |
|---|---|
static IntegerAttributeMetadata.Builder |
builderIntegerAttributeMetadata()
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<IntegerFormat> |
getFormat() |
Optional<String> |
getFormulaDefinition() |
Optional<Integer> |
getMaxValue() |
Optional<Integer> |
getMinValue() |
Optional<Integer> |
getSourceTypeMask() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
IntegerAttributeMetadata |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
IntegerAttributeMetadata |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
IntegerAttributeMetadata |
withFormat(IntegerFormat format) |
IntegerAttributeMetadata |
withFormulaDefinition(String formulaDefinition) |
IntegerAttributeMetadata |
withMaxValue(Integer maxValue) |
IntegerAttributeMetadata |
withMinValue(Integer minValue) |
IntegerAttributeMetadata |
withSourceTypeMask(Integer sourceTypeMask) |
IntegerAttributeMetadata |
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 IntegerFormat format
protected Integer maxValue
protected Integer minValue
protected String formulaDefinition
protected Integer sourceTypeMask
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class AttributeMetadatapublic static IntegerAttributeMetadata.Builder builderIntegerAttributeMetadata()
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 Optional<IntegerFormat> getFormat()
public IntegerAttributeMetadata withFormat(IntegerFormat format)
public IntegerAttributeMetadata withMaxValue(Integer maxValue)
public IntegerAttributeMetadata withMinValue(Integer minValue)
public IntegerAttributeMetadata withFormulaDefinition(String formulaDefinition)
public IntegerAttributeMetadata withSourceTypeMask(Integer sourceTypeMask)
public IntegerAttributeMetadata withUnmappedField(String name, String value)
withUnmappedField in class AttributeMetadatapublic com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class AttributeMetadatapublic IntegerAttributeMetadata 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 IntegerAttributeMetadata 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.