Package microsoft.dynamics.crm.complex
Class DependentEntityMetadata
- java.lang.Object
-
- microsoft.dynamics.crm.complex.DependentEntityMetadata
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DependentEntityMetadata extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDependentEntityMetadata.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DependentAttributeMetadataCollectionattributesprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdisplayNameprotected StringentityIdprotected StringlogicalCollectionNameprotected StringlogicalNameprotected IntegerobjectTypeCodeprotected StringodataTypeprotected StringprimaryIdAttributeprotected StringprimaryNameAttributeprotected DependentRelationshipCollectionrelationshipsprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDependentEntityMetadata()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
entityId
protected String entityId
-
logicalName
protected String logicalName
-
logicalCollectionName
protected String logicalCollectionName
-
objectTypeCode
protected Integer objectTypeCode
-
displayName
protected String displayName
-
primaryNameAttribute
protected String primaryNameAttribute
-
primaryIdAttribute
protected String primaryIdAttribute
-
attributes
protected DependentAttributeMetadataCollection attributes
-
relationships
protected DependentRelationshipCollection relationships
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withEntityId
public DependentEntityMetadata withEntityId(String entityId)
-
withLogicalName
public DependentEntityMetadata withLogicalName(String logicalName)
-
withLogicalCollectionName
public DependentEntityMetadata withLogicalCollectionName(String logicalCollectionName)
-
withObjectTypeCode
public DependentEntityMetadata withObjectTypeCode(Integer objectTypeCode)
-
withDisplayName
public DependentEntityMetadata withDisplayName(String displayName)
-
withPrimaryNameAttribute
public DependentEntityMetadata withPrimaryNameAttribute(String primaryNameAttribute)
-
withPrimaryIdAttribute
public DependentEntityMetadata withPrimaryIdAttribute(String primaryIdAttribute)
-
getAttributes
public Optional<DependentAttributeMetadataCollection> getAttributes()
-
withAttributes
public DependentEntityMetadata withAttributes(DependentAttributeMetadataCollection attributes)
-
getRelationships
public Optional<DependentRelationshipCollection> getRelationships()
-
withRelationships
public DependentEntityMetadata withRelationships(DependentRelationshipCollection relationships)
-
withUnmappedField
public DependentEntityMetadata withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static DependentEntityMetadata.Builder builder()
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
-
-