public static String getPropertyTypeName ( StructuralProperty property ) { return property . isCollection ( ) ? property . getElementTypeName ( ) : property . getTypeName ( ) ; }
Gets the OData type name of the property ; if the property is a collection gets the OData type name of the elements of the collection .