public class CsdlReferentialConstraint extends CsdlAbstractEdmItem implements CsdlAnnotatable
Constructor and Description |
---|
CsdlReferentialConstraint() |
Modifier and Type | Method and Description |
---|---|
List<CsdlAnnotation> |
getAnnotations()
Returns a list of annotations
|
String |
getProperty()
Gets property.
|
String |
getReferencedProperty()
Gets referenced property.
|
CsdlReferentialConstraint |
setAnnotations(List<CsdlAnnotation> annotations)
Sets a list of annotations
|
CsdlReferentialConstraint |
setProperty(String property)
Sets property.
|
CsdlReferentialConstraint |
setReferencedProperty(String referencedProperty)
Sets referenced property.
|
getAllByName, getOneByName
public String getProperty()
public CsdlReferentialConstraint setProperty(String property)
property
- the propertypublic String getReferencedProperty()
public CsdlReferentialConstraint setReferencedProperty(String referencedProperty)
referencedProperty
- the referenced propertypublic List<CsdlAnnotation> getAnnotations()
CsdlAnnotatable
getAnnotations
in interface CsdlAnnotatable
public CsdlReferentialConstraint setAnnotations(List<CsdlAnnotation> annotations)
annotations
- list of annotationsCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.