Class SimpleProperty
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.Property
-
- org.apache.olingo.odata2.api.edm.provider.SimpleProperty
-
public class SimpleProperty extends Property
Objects of this class represent a simple property.
-
-
Constructor Summary
Constructors Constructor Description SimpleProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EdmSimpleTypeKindgetType()SimplePropertysetAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)Sets the List ofAnnotationAttributefor thisPropertySimplePropertysetAnnotationElements(List<AnnotationElement> annotationElements)Sets the List ofAnnotationElementfor thisPropertySimplePropertysetCustomizableFeedMappings(CustomizableFeedMappings customizableFeedMappings)Sets theCustomizableFeedMappingsfor thisPropertySimplePropertysetDocumentation(Documentation documentation)Sets theDocumentationfor thisPropertySimplePropertysetFacets(EdmFacets facets)SimplePropertysetMapping(Mapping mapping)SimplePropertysetMimeType(String mimeType)Sets the mime type for thisPropertySimplePropertysetName(String name)Sets the name for thisPropertySimplePropertysetType(EdmSimpleTypeKind type)Sets theEdmSimpleTypeKindfor thisProperty.-
Methods inherited from class org.apache.olingo.odata2.api.edm.provider.Property
addComposite, getAnnotationAttributes, getAnnotationElements, getColumnDefinition, getComposite, getCustomizableFeedMappings, getDocumentation, getFacets, getIndex, getMapping, getMimeType, getName, getOriginalName, getOriginalType, isDisplayField, isForeignKey, isOriginalId, setColumnDefinition, setComposite, setDisplayField, setForeignKey, setIndex, setOriginalId, setOriginalName, setOriginalType
-
-
-
-
Method Detail
-
getType
public EdmSimpleTypeKind getType()
- Returns:
EdmSimpleTypeKindof this property
-
setType
public SimpleProperty setType(EdmSimpleTypeKind type)
Sets theEdmSimpleTypeKindfor thisProperty.- Parameters:
type- Tipo- Returns:
Propertyfor method chaining
-
setName
public SimpleProperty setName(String name)
Description copied from class:PropertySets the name for thisProperty
-
setFacets
public SimpleProperty setFacets(EdmFacets facets)
Description copied from class:Property
-
setCustomizableFeedMappings
public SimpleProperty setCustomizableFeedMappings(CustomizableFeedMappings customizableFeedMappings)
Description copied from class:PropertySets theCustomizableFeedMappingsfor thisProperty- Overrides:
setCustomizableFeedMappingsin classProperty- Parameters:
customizableFeedMappings- Mapa- Returns:
Propertyfor method chaining
-
setMimeType
public SimpleProperty setMimeType(String mimeType)
Description copied from class:PropertySets the mime type for thisProperty- Overrides:
setMimeTypein classProperty- Parameters:
mimeType- Tipo- Returns:
Propertyfor method chaining
-
setMapping
public SimpleProperty setMapping(Mapping mapping)
Description copied from class:Property- Overrides:
setMappingin classProperty- Parameters:
mapping- Mapa- Returns:
Propertyfor method chaining
-
setDocumentation
public SimpleProperty setDocumentation(Documentation documentation)
Description copied from class:PropertySets theDocumentationfor thisProperty- Overrides:
setDocumentationin classProperty- Parameters:
documentation- Documentação- Returns:
Propertyfor method chaining
-
setAnnotationAttributes
public SimpleProperty setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Description copied from class:PropertySets the List ofAnnotationAttributefor thisProperty- Overrides:
setAnnotationAttributesin classProperty- Parameters:
annotationAttributes- Atributos- Returns:
Propertyfor method chaining
-
setAnnotationElements
public SimpleProperty setAnnotationElements(List<AnnotationElement> annotationElements)
Description copied from class:PropertySets the List ofAnnotationElementfor thisProperty- Overrides:
setAnnotationElementsin classProperty- Parameters:
annotationElements- Elementos- Returns:
Propertyfor method chaining
-
-