Class EdmPropertyImpl
java.lang.Object
org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
org.apache.olingo.commons.core.edm.AbstractEdmNamed
org.apache.olingo.commons.core.edm.EdmPropertyImpl
- All Implemented Interfaces:
EdmAnnotatable,EdmElement,EdmMappable,EdmNamed,EdmProperty,EdmTyped
-
Field Summary
Fields inherited from class org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
edm -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet mapping information applied to an EDM element.Gets the related MIME type for the property.getScale()getSrid()getType()SeeEdmTypefor more information about possible types.SeeEdmTypefor more information about possible types.booleanbooleanbooleanGets the info if the property is a primitive property.booleanMethods inherited from class org.apache.olingo.commons.core.edm.AbstractEdmNamed
getName, toStringMethods inherited from class org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
getAnnotation, getAnnotationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.olingo.commons.api.edm.EdmAnnotatable
getAnnotation, getAnnotations
-
Constructor Details
-
EdmPropertyImpl
-
-
Method Details
-
getType
Description copied from interface:EdmTypedSeeEdmTypefor more information about possible types. -
getTypeWithAnnotations
Description copied from interface:EdmPropertySeeEdmTypefor more information about possible types.- Specified by:
getTypeWithAnnotationsin interfaceEdmProperty- Returns:
EdmType
-
isCollection
public boolean isCollection()- Specified by:
isCollectionin interfaceEdmTyped- Returns:
- true if this typed element is a collection
-
getMapping
Description copied from interface:EdmMappableGet mapping information applied to an EDM element. May return null if no mapping is defined.- Specified by:
getMappingin interfaceEdmMappable- Returns:
EdmMappingor null if no mapping is defined
-
getMimeType
Description copied from interface:EdmPropertyGets the related MIME type for the property.- Specified by:
getMimeTypein interfaceEdmProperty- Returns:
- MIME type as String
-
isNullable
public boolean isNullable()- Specified by:
isNullablein interfaceEdmProperty- Returns:
- true if nullable or not specified
-
getMaxLength
- Specified by:
getMaxLengthin interfaceEdmProperty- Returns:
- the maximum length as an Integer or null if not specified
-
getPrecision
- Specified by:
getPrecisionin interfaceEdmProperty- Returns:
- the precision as an Integer or null if not specified
-
getScale
- Specified by:
getScalein interfaceEdmProperty- Returns:
- the scale as an Integer or null if not specified
-
getScaleAsString
- Specified by:
getScaleAsStringin interfaceEdmProperty- Returns:
- the scale as an String or null if not specified
-
getSrid
- Specified by:
getSridin interfaceEdmProperty- Returns:
- a non-negative integer or the special value variable
-
isUnicode
public boolean isUnicode()- Specified by:
isUnicodein interfaceEdmProperty- Returns:
- true if unicode or not specified
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceEdmProperty- Returns:
- the default value as a String or null if not specified
-
isPrimitive
public boolean isPrimitive()Description copied from interface:EdmPropertyGets the info if the property is a primitive property.- Specified by:
isPrimitivein interfaceEdmProperty- Returns:
- true, if it is a primitive property
-