Class Property
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.Property
- Direct Known Subclasses:
ComplexProperty,SimpleProperty
Objects of this class represent a property of an entity type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the List ofAnnotationAttributefor thisPropertysetAnnotationElements(List<AnnotationElement> annotationElements) Sets the List ofAnnotationElementfor thisPropertysetCustomizableFeedMappings(CustomizableFeedMappings customizableFeedMappings) Sets theCustomizableFeedMappingsfor thisPropertysetDocumentation(Documentation documentation) Sets theDocumentationfor thisPropertysetMapping(Mapping mapping) setMimeType(String mimeType) Sets the mime type for thisPropertySets the name for thisProperty
-
Constructor Details
-
Property
public Property()
-
-
Method Details
-
getName
- Returns:
- String name of this property
-
getFacets
- Returns:
EdmFacetsof this property
-
getCustomizableFeedMappings
- Returns:
CustomizableFeedMappingsof this property
-
getMimeType
- Returns:
- String mime type of this property
-
getMapping
- Returns:
Mappingof this property
-
getDocumentation
- Returns:
Documentationof this property
-
getAnnotationAttributes
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
- Returns:
- List of
AnnotationElementannotation elements
-
setName
Sets the name for thisProperty- Parameters:
name-- Returns:
Propertyfor method chaining
-
setFacets
- Parameters:
facets-- Returns:
Propertyfor method chaining
-
setCustomizableFeedMappings
Sets theCustomizableFeedMappingsfor thisProperty- Parameters:
customizableFeedMappings-- Returns:
Propertyfor method chaining
-
setMimeType
Sets the mime type for thisProperty- Parameters:
mimeType-- Returns:
Propertyfor method chaining
-
setMapping
- Parameters:
mapping-- Returns:
Propertyfor method chaining
-
setDocumentation
Sets theDocumentationfor thisProperty- Parameters:
documentation-- Returns:
Propertyfor method chaining
-
setAnnotationAttributes
Sets the List ofAnnotationAttributefor thisProperty- Parameters:
annotationAttributes-- Returns:
Propertyfor method chaining
-
setAnnotationElements
Sets the List ofAnnotationElementfor thisProperty- Parameters:
annotationElements-- Returns:
Propertyfor method chaining
-