Class Property
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.Property
-
- Direct Known Subclasses:
ComplexProperty,SimpleProperty
public abstract class Property extends Object
Objects of this class represent a property of an entity type
-
-
Constructor Summary
Constructors Constructor Description Property()
-
Method Summary
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- String name of this property
-
getCustomizableFeedMappings
public CustomizableFeedMappings getCustomizableFeedMappings()
- Returns:
CustomizableFeedMappingsof this property
-
getMimeType
public String getMimeType()
- Returns:
- String mime type of this property
-
getDocumentation
public Documentation getDocumentation()
- Returns:
Documentationof this property
-
getAnnotationAttributes
public List<AnnotationAttribute> getAnnotationAttributes()
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
public List<AnnotationElement> getAnnotationElements()
- Returns:
- List of
AnnotationElementannotation elements
-
setName
public Property setName(String name)
Sets the name for thisProperty- Parameters:
name- Nome- Returns:
Propertyfor method chaining
-
setFacets
public Property setFacets(EdmFacets facets)
- Parameters:
facets- Facets- Returns:
Propertyfor method chaining
-
setCustomizableFeedMappings
public Property setCustomizableFeedMappings(CustomizableFeedMappings customizableFeedMappings)
Sets theCustomizableFeedMappingsfor thisProperty- Parameters:
customizableFeedMappings- Mapa- Returns:
Propertyfor method chaining
-
setMimeType
public Property setMimeType(String mimeType)
Sets the mime type for thisProperty- Parameters:
mimeType- Tipo- Returns:
Propertyfor method chaining
-
setMapping
public Property setMapping(Mapping mapping)
- Parameters:
mapping- Mapa- Returns:
Propertyfor method chaining
-
setDocumentation
public Property setDocumentation(Documentation documentation)
Sets theDocumentationfor thisProperty- Parameters:
documentation- Documentação- Returns:
Propertyfor method chaining
-
setAnnotationAttributes
public Property setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Sets the List ofAnnotationAttributefor thisProperty- Parameters:
annotationAttributes- Atributos- Returns:
Propertyfor method chaining
-
setAnnotationElements
public Property setAnnotationElements(List<AnnotationElement> annotationElements)
Sets the List ofAnnotationElementfor thisProperty- Parameters:
annotationElements- Elementos- Returns:
Propertyfor method chaining
-
getOriginalName
public String getOriginalName()
-
setOriginalName
public void setOriginalName(String originalName)
-
getIndex
public int getIndex()
-
setIndex
public void setIndex(int index)
-
addComposite
public void addComposite(Property property)
-
isForeignKey
public boolean isForeignKey()
-
setForeignKey
public void setForeignKey(boolean foreignKey)
-
isOriginalId
public boolean isOriginalId()
-
setOriginalId
public void setOriginalId(boolean originalId)
-
getOriginalType
public Class<?> getOriginalType()
-
setOriginalType
public void setOriginalType(Class<?> originalType)
-
getColumnDefinition
public String getColumnDefinition()
-
setColumnDefinition
public void setColumnDefinition(String columnDefinition)
-
isDisplayField
public boolean isDisplayField()
-
setDisplayField
public void setDisplayField(boolean isDisplayField)
-
-