Class EdmAnnotationUtils


  • public class EdmAnnotationUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getAliasTextIfPresent​(org.apache.olingo.odata2.api.edm.EdmEntityType entityType)  
      static boolean isAutoCreate​(org.apache.olingo.odata2.api.edm.EdmAnnotatable property)  
      static boolean isKeyProperty​(org.apache.olingo.odata2.api.edm.EdmTyped property)  
      static boolean isNullable​(org.apache.olingo.odata2.api.edm.EdmAnnotatable property)  
      static boolean isPartOf​(org.apache.olingo.odata2.api.edm.EdmAnnotatable property)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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 java.lang.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