Package microsoft.dynamics.crm.entity
Class RelationshipMetadataBase
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmmodelbaseentity
-
- microsoft.dynamics.crm.entity.MetadataBase
-
- microsoft.dynamics.crm.entity.RelationshipMetadataBase
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
ManyToManyRelationshipMetadata,OneToManyRelationshipMetadata
public class RelationshipMetadataBase extends MetadataBase implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Field Summary
Fields Modifier and Type Field Description protected StringintroducedVersionprotected BooleanManagedPropertyisCustomizableprotected BooleanisCustomRelationshipprotected BooleanisManagedprotected BooleanisValidForAdvancedFindprotected RelationshipTyperelationshipTypeprotected StringschemaNameprotected SecurityTypessecurityTypes-
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 protectedRelationshipMetadataBase()
-
Method Summary
-
Methods inherited from class microsoft.dynamics.crm.entity.MetadataBase
getHasChanged, getMetadataId, withHasChanged, withMetadataId
-
-
-
-
Field Detail
-
isCustomRelationship
protected Boolean isCustomRelationship
-
isCustomizable
protected BooleanManagedProperty isCustomizable
-
isValidForAdvancedFind
protected Boolean isValidForAdvancedFind
-
schemaName
protected String schemaName
-
securityTypes
protected SecurityTypes securityTypes
-
isManaged
protected Boolean isManaged
-
relationshipType
protected RelationshipType relationshipType
-
introducedVersion
protected String introducedVersion
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMetadataBase
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classMetadataBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMetadataBase
-
withIsCustomRelationship
public RelationshipMetadataBase withIsCustomRelationship(Boolean isCustomRelationship)
-
getIsCustomizable
public Optional<BooleanManagedProperty> getIsCustomizable()
-
withIsCustomizable
public RelationshipMetadataBase withIsCustomizable(BooleanManagedProperty isCustomizable)
-
withIsValidForAdvancedFind
public RelationshipMetadataBase withIsValidForAdvancedFind(Boolean isValidForAdvancedFind)
-
withSchemaName
public RelationshipMetadataBase withSchemaName(String schemaName)
-
getSecurityTypes
public Optional<SecurityTypes> getSecurityTypes()
-
withSecurityTypes
public RelationshipMetadataBase withSecurityTypes(SecurityTypes securityTypes)
-
withIsManaged
public RelationshipMetadataBase withIsManaged(Boolean isManaged)
-
getRelationshipType
public Optional<RelationshipType> getRelationshipType()
-
withRelationshipType
public RelationshipMetadataBase withRelationshipType(RelationshipType relationshipType)
-
withIntroducedVersion
public RelationshipMetadataBase withIntroducedVersion(String introducedVersion)
-
withUnmappedField
public RelationshipMetadataBase withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classMetadataBase
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMetadataBase
-
patch
public RelationshipMetadataBase patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classMetadataBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public RelationshipMetadataBase put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classMetadataBase- 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 classMetadataBase
-
-