public class CsdlNavigationProperty extends CsdlAbstractEdmItem implements CsdlNamed, CsdlAnnotatable
Constructor and Description |
---|
CsdlNavigationProperty() |
getAllByName, getOneByName
public boolean isCollection()
public CsdlNavigationProperty setCollection(boolean isCollection)
isCollection
- the is collectionpublic CsdlNavigationProperty setName(String name)
name
- the namepublic FullQualifiedName getTypeFQN()
public String getType()
public CsdlNavigationProperty setType(FullQualifiedName type)
type
- the typepublic CsdlNavigationProperty setType(String type)
type
- the typepublic String getPartner()
public CsdlNavigationProperty setPartner(String partner)
partner
- the partnerpublic boolean isContainsTarget()
public CsdlNavigationProperty setContainsTarget(boolean containsTarget)
containsTarget
- the contains targetpublic List<CsdlReferentialConstraint> getReferentialConstraints()
public CsdlNavigationProperty setReferentialConstraints(List<CsdlReferentialConstraint> referentialConstraints)
referentialConstraints
- the referential constraintspublic Boolean isNullable()
public CsdlNavigationProperty setNullable(Boolean nullable)
nullable
- the nullablepublic CsdlOnDelete getOnDelete()
public CsdlNavigationProperty setOnDelete(CsdlOnDelete onDelete)
onDelete
- the on deletepublic List<CsdlAnnotation> getAnnotations()
CsdlAnnotatable
getAnnotations
in interface CsdlAnnotatable
public CsdlNavigationProperty setAnnotations(List<CsdlAnnotation> annotations)
annotations
- list of annotationsCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.