public class DependentEntityMetadata extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DependentEntityMetadata.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected DependentAttributeMetadataCollection |
attributes |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
displayName |
protected String |
entityId |
protected String |
logicalCollectionName |
protected String |
logicalName |
protected Integer |
objectTypeCode |
protected String |
odataType |
protected String |
primaryIdAttribute |
protected String |
primaryNameAttribute |
protected DependentRelationshipCollection |
relationships |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DependentEntityMetadata() |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
protected String odataType
protected String entityId
protected String logicalName
protected String logicalCollectionName
protected Integer objectTypeCode
protected String displayName
protected String primaryNameAttribute
protected String primaryIdAttribute
protected DependentAttributeMetadataCollection attributes
protected DependentRelationshipCollection relationships
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic DependentEntityMetadata withEntityId(String entityId)
public DependentEntityMetadata withLogicalName(String logicalName)
public DependentEntityMetadata withLogicalCollectionName(String logicalCollectionName)
public DependentEntityMetadata withObjectTypeCode(Integer objectTypeCode)
public DependentEntityMetadata withDisplayName(String displayName)
public DependentEntityMetadata withPrimaryNameAttribute(String primaryNameAttribute)
public DependentEntityMetadata withPrimaryIdAttribute(String primaryIdAttribute)
public Optional<DependentAttributeMetadataCollection> getAttributes()
public DependentEntityMetadata withAttributes(DependentAttributeMetadataCollection attributes)
public Optional<DependentRelationshipCollection> getRelationships()
public DependentEntityMetadata withRelationships(DependentRelationshipCollection relationships)
public DependentEntityMetadata withUnmappedField(String name, String value)
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static DependentEntityMetadata.Builder builder()
Copyright © 2018–2021. All rights reserved.