Class EdmAnnotationUtils
java.lang.Object
de.hybris.platform.odata2services.odata.EdmAnnotationUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetAliasTextIfPresent(org.apache.olingo.odata2.api.edm.EdmEntityType entityType) static booleanisAutoCreate(org.apache.olingo.odata2.api.edm.EdmAnnotatable property) static booleanisKeyProperty(org.apache.olingo.odata2.api.edm.EdmTyped property) static booleanisNullable(org.apache.olingo.odata2.api.edm.EdmAnnotatable property) static booleanisPartOf(org.apache.olingo.odata2.api.edm.EdmAnnotatable property)
-
Method Details
-
isPartOf
public static boolean isPartOf(org.apache.olingo.odata2.api.edm.EdmAnnotatable property) throws org.apache.olingo.odata2.api.edm.EdmException - Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
isAutoCreate
public static boolean isAutoCreate(org.apache.olingo.odata2.api.edm.EdmAnnotatable property) throws org.apache.olingo.odata2.api.edm.EdmException - Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
isKeyProperty
public static boolean isKeyProperty(org.apache.olingo.odata2.api.edm.EdmTyped property) throws org.apache.olingo.odata2.api.edm.EdmException - Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
isNullable
public static boolean isNullable(org.apache.olingo.odata2.api.edm.EdmAnnotatable property) throws org.apache.olingo.odata2.api.edm.EdmException - Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
getAliasTextIfPresent
public static String getAliasTextIfPresent(org.apache.olingo.odata2.api.edm.EdmEntityType entityType) throws org.apache.olingo.odata2.api.edm.EdmException - Throws:
org.apache.olingo.odata2.api.edm.EdmException
-