Package microsoft.dynamics.crm.entity
Class ManyToManyRelationshipMetadata
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmmodelbaseentity
-
- microsoft.dynamics.crm.entity.MetadataBase
-
- microsoft.dynamics.crm.entity.RelationshipMetadataBase
-
- microsoft.dynamics.crm.entity.ManyToManyRelationshipMetadata
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManyToManyRelationshipMetadata extends RelationshipMetadataBase implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManyToManyRelationshipMetadata.Builder
-
Field Summary
Fields Modifier and Type Field Description protected AssociatedMenuConfigurationentity1AssociatedMenuConfigurationprotected Stringentity1IntersectAttributeprotected Stringentity1LogicalNameprotected Stringentity1NavigationPropertyNameprotected AssociatedMenuConfigurationentity2AssociatedMenuConfigurationprotected Stringentity2IntersectAttributeprotected Stringentity2LogicalNameprotected Stringentity2NavigationPropertyNameprotected StringintersectEntityName-
Fields inherited from class microsoft.dynamics.crm.entity.RelationshipMetadataBase
introducedVersion, isCustomizable, isCustomRelationship, isManaged, isValidForAdvancedFind, relationshipType, schemaName, securityTypes
-
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 protectedManyToManyRelationshipMetadata()
-
Method Summary
-
Methods inherited from class microsoft.dynamics.crm.entity.RelationshipMetadataBase
getIntroducedVersion, getIsCustomizable, getIsCustomRelationship, getIsManaged, getIsValidForAdvancedFind, getRelationshipType, getSchemaName, getSecurityTypes, withIntroducedVersion, withIsCustomizable, withIsCustomRelationship, withIsManaged, withIsValidForAdvancedFind, withRelationshipType, withSchemaName, withSecurityTypes
-
Methods inherited from class microsoft.dynamics.crm.entity.MetadataBase
getHasChanged, getMetadataId, withHasChanged, withMetadataId
-
-
-
-
Field Detail
-
entity1AssociatedMenuConfiguration
protected AssociatedMenuConfiguration entity1AssociatedMenuConfiguration
-
entity2AssociatedMenuConfiguration
protected AssociatedMenuConfiguration entity2AssociatedMenuConfiguration
-
entity1LogicalName
protected String entity1LogicalName
-
entity2LogicalName
protected String entity2LogicalName
-
intersectEntityName
protected String intersectEntityName
-
entity1IntersectAttribute
protected String entity1IntersectAttribute
-
entity2IntersectAttribute
protected String entity2IntersectAttribute
-
entity1NavigationPropertyName
protected String entity1NavigationPropertyName
-
entity2NavigationPropertyName
protected String entity2NavigationPropertyName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classRelationshipMetadataBase
-
builderManyToManyRelationshipMetadata
public static ManyToManyRelationshipMetadata.Builder builderManyToManyRelationshipMetadata()
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 classRelationshipMetadataBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classRelationshipMetadataBase
-
getEntity1AssociatedMenuConfiguration
public Optional<AssociatedMenuConfiguration> getEntity1AssociatedMenuConfiguration()
-
withEntity1AssociatedMenuConfiguration
public ManyToManyRelationshipMetadata withEntity1AssociatedMenuConfiguration(AssociatedMenuConfiguration entity1AssociatedMenuConfiguration)
-
getEntity2AssociatedMenuConfiguration
public Optional<AssociatedMenuConfiguration> getEntity2AssociatedMenuConfiguration()
-
withEntity2AssociatedMenuConfiguration
public ManyToManyRelationshipMetadata withEntity2AssociatedMenuConfiguration(AssociatedMenuConfiguration entity2AssociatedMenuConfiguration)
-
withEntity1LogicalName
public ManyToManyRelationshipMetadata withEntity1LogicalName(String entity1LogicalName)
-
withEntity2LogicalName
public ManyToManyRelationshipMetadata withEntity2LogicalName(String entity2LogicalName)
-
withIntersectEntityName
public ManyToManyRelationshipMetadata withIntersectEntityName(String intersectEntityName)
-
withEntity1IntersectAttribute
public ManyToManyRelationshipMetadata withEntity1IntersectAttribute(String entity1IntersectAttribute)
-
withEntity2IntersectAttribute
public ManyToManyRelationshipMetadata withEntity2IntersectAttribute(String entity2IntersectAttribute)
-
withEntity1NavigationPropertyName
public ManyToManyRelationshipMetadata withEntity1NavigationPropertyName(String entity1NavigationPropertyName)
-
withEntity2NavigationPropertyName
public ManyToManyRelationshipMetadata withEntity2NavigationPropertyName(String entity2NavigationPropertyName)
-
withUnmappedField
public ManyToManyRelationshipMetadata withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classRelationshipMetadataBase
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classRelationshipMetadataBase
-
patch
public ManyToManyRelationshipMetadata patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classRelationshipMetadataBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public ManyToManyRelationshipMetadata put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classRelationshipMetadataBase- 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 classRelationshipMetadataBase
-
-