Class Schema
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.Schema
Objects of this class represent a schema
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Sets the alias for thisSchemasetAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the List ofAnnotationAttributefor thisSchemasetAnnotationElements(List<AnnotationElement> annotationElements) Sets the List ofAnnotationElementfor thisSchemasetAssociations(List<Association> associations) Sets theAssociations for thisSchemasetComplexTypes(List<ComplexType> complexTypes) Sets theComplexTypes for thisSchemasetEntityContainers(List<EntityContainer> entityContainers) Sets theEntityContainers for thisSchemasetEntityTypes(List<EntityType> entityTypes) Sets theEntityTypes for thisSchemasetNamespace(String namespace) Sets the namespace for thisSchema
-
Constructor Details
-
Schema
public Schema()
-
-
Method Details
-
setNamespace
Sets the namespace for thisSchema- Parameters:
namespace-- Returns:
Schemafor method chaining
-
setAlias
Sets the alias for thisSchema- Parameters:
alias-- Returns:
Schemafor method chaining
-
setUsings
- Parameters:
usings-- Returns:
Schemafor method chaining
-
setEntityTypes
Sets theEntityTypes for thisSchema- Parameters:
entityTypes-- Returns:
Schemafor method chaining
-
setComplexTypes
Sets theComplexTypes for thisSchema- Parameters:
complexTypes-- Returns:
Schemafor method chaining
-
setAssociations
Sets theAssociations for thisSchema- Parameters:
associations-- Returns:
Schemafor method chaining
-
setEntityContainers
Sets theEntityContainers for thisSchema- Parameters:
entityContainers-- Returns:
Schemafor method chaining
-
setAnnotationAttributes
Sets the List ofAnnotationAttributefor thisSchema- Parameters:
annotationAttributes-- Returns:
Schemafor method chaining
-
setAnnotationElements
Sets the List ofAnnotationElementfor thisSchema- Parameters:
annotationElements-- Returns:
Schemafor method chaining
-
getNamespace
- Returns:
- String namespace of this
Schema
-
getAlias
- Returns:
- String alias of this
Schema
-
getUsings
-
getEntityTypes
- Returns:
- List<
EntityType> of thisSchema
-
getComplexTypes
- Returns:
- List<
ComplexType> of thisSchema
-
getAssociations
- Returns:
- List<
Association> of thisSchema
-
getEntityContainers
- Returns:
- List<
EntityContainer> of thisSchema
-
getAnnotationAttributes
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
- Returns:
- List of
AnnotationElementannotation elements
-