public class DependentRelationship extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DependentRelationship.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected RelationshipType |
entityRelationshipType |
protected Boolean |
hasReadPrivilege |
protected Boolean |
isHierarchical |
protected Boolean |
isValidForAdvancedFind |
protected DependentManyToManyRelationshipMetadata |
manyToManyRelationshipMetadata |
protected String |
metadataId |
protected String |
name |
protected String |
odataType |
protected String |
referencedAttribute |
protected String |
referencingAttribute |
protected String |
relationshipEntity |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DependentRelationship() |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
protected String odataType
protected String metadataId
protected String name
protected RelationshipType entityRelationshipType
protected String referencingAttribute
protected String referencedAttribute
protected String relationshipEntity
protected Boolean isValidForAdvancedFind
protected Boolean hasReadPrivilege
protected Boolean isHierarchical
protected DependentManyToManyRelationshipMetadata manyToManyRelationshipMetadata
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic DependentRelationship withMetadataId(String metadataId)
public DependentRelationship withName(String name)
public Optional<RelationshipType> getEntityRelationshipType()
public DependentRelationship withEntityRelationshipType(RelationshipType entityRelationshipType)
public DependentRelationship withReferencingAttribute(String referencingAttribute)
public DependentRelationship withReferencedAttribute(String referencedAttribute)
public DependentRelationship withRelationshipEntity(String relationshipEntity)
public DependentRelationship withIsValidForAdvancedFind(Boolean isValidForAdvancedFind)
public DependentRelationship withHasReadPrivilege(Boolean hasReadPrivilege)
public DependentRelationship withIsHierarchical(Boolean isHierarchical)
public Optional<DependentManyToManyRelationshipMetadata> getManyToManyRelationshipMetadata()
public DependentRelationship withManyToManyRelationshipMetadata(DependentManyToManyRelationshipMetadata manyToManyRelationshipMetadata)
public DependentRelationship 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 DependentRelationship.Builder builder()
Copyright © 2018–2020. All rights reserved.