Class Names
- java.lang.Object
-
- com.github.davidmoten.odata.client.generator.Names
-
public final class Names extends Object
-
-
Method Summary
-
-
-
Method Detail
-
getOptions
public SchemaOptions getOptions(Schema schema)
-
getSimpleTypeNameFromTypeWithNamespace
public String getSimpleTypeNameFromTypeWithNamespace(String name)
-
getFullClassNameFromTypeWithNamespace
public String getFullClassNameFromTypeWithNamespace(String type)
-
getFullClassNameFromTypeWithoutNamespace
public String getFullClassNameFromTypeWithoutNamespace(Schema schema, String type)
-
isEntityWithNamespace
public boolean isEntityWithNamespace(String type)
-
getType
public String getType(TNavigationProperty x)
-
getType
public String getType(TActionFunctionParameter x)
-
isCollection
public boolean isCollection(TProperty x)
-
isCollection
public boolean isCollection(TNavigationProperty x)
-
isCollection
public static boolean isCollection(String t)
-
toImportedFullClassName
public String toImportedFullClassName(TActionFunctionParameter x, Imports imports)
-
toImportedFullClassName
public String toImportedFullClassName(String t, Imports imports, Class<?> collectionClass)
-
getImportedFullClassNameFromEdm
public String getImportedFullClassNameFromEdm(String t, Imports imports)
-
getSchema
public Schema getSchema(TEntityType entityType)
-
getSchema
public Schema getSchema(TComplexType complexType)
-
getFullClassNameEntityRequestFromTypeWithNamespace
public String getFullClassNameEntityRequestFromTypeWithNamespace(Schema schema, String name)
-
getFullClassNameEntityRequestFromTypeWithoutNamespace
public String getFullClassNameEntityRequestFromTypeWithoutNamespace(Schema schema, String name)
-
getSimpleClassNameComplexType
public String getSimpleClassNameComplexType(Schema schema, String name)
-
getSimpleClassNameEntityRequest
public String getSimpleClassNameEntityRequest(Schema schema, String name)
-
getDirectoryComplexTypeCollectionRequest
public File getDirectoryComplexTypeCollectionRequest(Schema schema)
-
getSimpleClassNameCollectionRequest
public String getSimpleClassNameCollectionRequest(Schema schema, String name)
-
getFullClassNameEntityRequest
public String getFullClassNameEntityRequest(Schema schema, String name)
-
getFullClassNameCollectionRequestFromTypeWithNamespace
public String getFullClassNameCollectionRequestFromTypeWithNamespace(Schema schema, String name)
-
getClassFileEntityCollectionRequest
public File getClassFileEntityCollectionRequest(Schema schema, String name)
-
getClassFileComplexTypeCollectionRequest
public File getClassFileComplexTypeCollectionRequest(Schema schema, String name)
-
getEntityType
public EntityType getEntityType(String typeWithNamespace)
-
getInnerType
public String getInnerType(TActionFunctionParameter x)
-
isCollection
public boolean isCollection(TActionFunctionParameter x)
-
getType
public String getType(TActionFunctionReturnType x)
-
isCollection
public boolean isCollection(TActionFunctionReturnType x)
-
getFullClassNameCollectionRequest
public String getFullClassNameCollectionRequest(Schema schema, String name)
-
getInnerType
public String getInnerType(TActionFunctionReturnType x)
-
getDocumentation
public Documentation getDocumentation()
-
getPutMethod
public static String getPutMethod(String name, com.github.davidmoten.odata.client.HttpMethod method)
-
-