Package microsoft.dynamics.crm.entity
Class DateTimeAttributeMetadata
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmmodelbaseentity
-
- microsoft.dynamics.crm.entity.MetadataBase
-
- microsoft.dynamics.crm.entity.AttributeMetadata
-
- microsoft.dynamics.crm.entity.DateTimeAttributeMetadata
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DateTimeAttributeMetadata extends AttributeMetadata implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDateTimeAttributeMetadata.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanManagedPropertycanChangeDateTimeBehaviorprotected DateTimeBehaviordateTimeBehaviorprotected DateTimeFormatformatprotected StringformulaDefinitionprotected ImeModeimeModeprotected OffsetDateTimemaxSupportedValueprotected OffsetDateTimeminSupportedValueprotected IntegersourceTypeMask-
Fields inherited from class microsoft.dynamics.crm.entity.AttributeMetadata
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, sourceType
-
Fields inherited from class microsoft.dynamics.crm.entity.MetadataBase
hasChanged, metadataId
-
Fields inherited from class microsoft.dynamics.crm.entity.Crmmodelbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDateTimeAttributeMetadata()
-
Method Summary
-
Methods inherited from class microsoft.dynamics.crm.entity.AttributeMetadata
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, withSourceType
-
Methods inherited from class microsoft.dynamics.crm.entity.MetadataBase
getHasChanged, getMetadataId, withHasChanged, withMetadataId
-
-
-
-
Field Detail
-
minSupportedValue
protected OffsetDateTime minSupportedValue
-
maxSupportedValue
protected OffsetDateTime maxSupportedValue
-
format
protected DateTimeFormat format
-
imeMode
protected ImeMode imeMode
-
sourceTypeMask
protected Integer sourceTypeMask
-
formulaDefinition
protected String formulaDefinition
-
dateTimeBehavior
protected DateTimeBehavior dateTimeBehavior
-
canChangeDateTimeBehavior
protected BooleanManagedProperty canChangeDateTimeBehavior
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classAttributeMetadata
-
builderDateTimeAttributeMetadata
public static DateTimeAttributeMetadata.Builder builderDateTimeAttributeMetadata()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classAttributeMetadata
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classAttributeMetadata
-
getMinSupportedValue
public Optional<OffsetDateTime> getMinSupportedValue()
-
withMinSupportedValue
public DateTimeAttributeMetadata withMinSupportedValue(OffsetDateTime minSupportedValue)
-
getMaxSupportedValue
public Optional<OffsetDateTime> getMaxSupportedValue()
-
withMaxSupportedValue
public DateTimeAttributeMetadata withMaxSupportedValue(OffsetDateTime maxSupportedValue)
-
getFormat
public Optional<DateTimeFormat> getFormat()
-
withFormat
public DateTimeAttributeMetadata withFormat(DateTimeFormat format)
-
withImeMode
public DateTimeAttributeMetadata withImeMode(ImeMode imeMode)
-
withSourceTypeMask
public DateTimeAttributeMetadata withSourceTypeMask(Integer sourceTypeMask)
-
withFormulaDefinition
public DateTimeAttributeMetadata withFormulaDefinition(String formulaDefinition)
-
getDateTimeBehavior
public Optional<DateTimeBehavior> getDateTimeBehavior()
-
withDateTimeBehavior
public DateTimeAttributeMetadata withDateTimeBehavior(DateTimeBehavior dateTimeBehavior)
-
getCanChangeDateTimeBehavior
public Optional<BooleanManagedProperty> getCanChangeDateTimeBehavior()
-
withCanChangeDateTimeBehavior
public DateTimeAttributeMetadata withCanChangeDateTimeBehavior(BooleanManagedProperty canChangeDateTimeBehavior)
-
withUnmappedField
public DateTimeAttributeMetadata withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classAttributeMetadata
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classAttributeMetadata
-
patch
public DateTimeAttributeMetadata patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classAttributeMetadata- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public DateTimeAttributeMetadata put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classAttributeMetadata- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classAttributeMetadata
-
-