public class OneToManyRelationshipMetadata extends RelationshipMetadataBase implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
OneToManyRelationshipMetadata.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected AssociatedMenuConfiguration |
associatedMenuConfiguration |
protected CascadeConfiguration |
cascadeConfiguration |
protected String |
entityKey |
protected Boolean |
isHierarchical |
protected String |
referencedAttribute |
protected String |
referencedEntity |
protected String |
referencedEntityNavigationPropertyName |
protected String |
referencingAttribute |
protected String |
referencingEntity |
protected String |
referencingEntityNavigationPropertyName |
protected List<RelationshipAttribute> |
relationshipAttributes |
protected String |
relationshipAttributesNextLink |
protected Integer |
relationshipBehavior |
introducedVersion, isCustomizable, isCustomRelationship, isManaged, isValidForAdvancedFind, relationshipType, schemaName, securityTypeshasChanged, metadataIdchangedFields, contextPath, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
OneToManyRelationshipMetadata() |
getIntroducedVersion, getIsCustomizable, getIsCustomRelationship, getIsManaged, getIsValidForAdvancedFind, getRelationshipType, getSchemaName, getSecurityTypes, withIntroducedVersion, withIsCustomizable, withIsCustomRelationship, withIsManaged, withIsValidForAdvancedFind, withRelationshipType, withSchemaName, withSecurityTypesgetHasChanged, getMetadataId, withHasChanged, withMetadataIdprotected AssociatedMenuConfiguration associatedMenuConfiguration
protected CascadeConfiguration cascadeConfiguration
protected String referencedAttribute
protected String referencedEntity
protected String referencingAttribute
protected String referencingEntity
protected Boolean isHierarchical
protected String entityKey
protected List<RelationshipAttribute> relationshipAttributes
protected String relationshipAttributesNextLink
protected String referencedEntityNavigationPropertyName
protected String referencingEntityNavigationPropertyName
protected Integer relationshipBehavior
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class RelationshipMetadataBasepublic static OneToManyRelationshipMetadata.Builder builderOneToManyRelationshipMetadata()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class RelationshipMetadataBasepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class RelationshipMetadataBasepublic Optional<AssociatedMenuConfiguration> getAssociatedMenuConfiguration()
public OneToManyRelationshipMetadata withAssociatedMenuConfiguration(AssociatedMenuConfiguration associatedMenuConfiguration)
public Optional<CascadeConfiguration> getCascadeConfiguration()
public OneToManyRelationshipMetadata withCascadeConfiguration(CascadeConfiguration cascadeConfiguration)
public OneToManyRelationshipMetadata withReferencedAttribute(String referencedAttribute)
public OneToManyRelationshipMetadata withReferencedEntity(String referencedEntity)
public OneToManyRelationshipMetadata withReferencingAttribute(String referencingAttribute)
public OneToManyRelationshipMetadata withReferencingEntity(String referencingEntity)
public OneToManyRelationshipMetadata withIsHierarchical(Boolean isHierarchical)
public OneToManyRelationshipMetadata withEntityKey(String entityKey)
public com.github.davidmoten.odata.client.CollectionPage<RelationshipAttribute> getRelationshipAttributes()
public OneToManyRelationshipMetadata withRelationshipAttributes(List<RelationshipAttribute> relationshipAttributes)
public com.github.davidmoten.odata.client.CollectionPage<RelationshipAttribute> getRelationshipAttributes(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<String> getReferencedEntityNavigationPropertyName()
public OneToManyRelationshipMetadata withReferencedEntityNavigationPropertyName(String referencedEntityNavigationPropertyName)
public Optional<String> getReferencingEntityNavigationPropertyName()
public OneToManyRelationshipMetadata withReferencingEntityNavigationPropertyName(String referencingEntityNavigationPropertyName)
public OneToManyRelationshipMetadata withRelationshipBehavior(Integer relationshipBehavior)
public OneToManyRelationshipMetadata withUnmappedField(String name, String value)
withUnmappedField in class RelationshipMetadataBasepublic LookupAttributeMetadataRequest getLookup()
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class RelationshipMetadataBasepublic OneToManyRelationshipMetadata patch()
this with changed fields reset.patch in class RelationshipMetadataBasethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic OneToManyRelationshipMetadata put()
this
with changed fields reset (they were ignored anyway).put in class RelationshipMetadataBasethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class RelationshipMetadataBaseCopyright © 2018–2021. All rights reserved.