Class Schema
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.Schema
-
public class Schema extends Object
Objects of this class represent a schema
-
-
Constructor Summary
Constructors Constructor Description Schema()
-
Method Summary
-
-
-
Method Detail
-
setNamespace
public Schema setNamespace(String namespace)
Sets the namespace for thisSchema- Parameters:
namespace- Namespace- Returns:
Schemafor method chaining
-
setAlias
public Schema setAlias(String alias)
Sets the alias for thisSchema- Parameters:
alias- Alias- Returns:
Schemafor method chaining
-
setUsings
public Schema setUsings(List<Using> usings)
- Parameters:
usings- Usos- Returns:
Schemafor method chaining
-
setEntityTypes
public Schema setEntityTypes(List<EntityType> entityTypes)
Sets theEntityTypes for thisSchema- Parameters:
entityTypes- Entidades- Returns:
Schemafor method chaining
-
setComplexTypes
public Schema setComplexTypes(List<ComplexType> complexTypes)
Sets theComplexTypes for thisSchema- Parameters:
complexTypes- Tipos complexo- Returns:
Schemafor method chaining
-
setAssociations
public Schema setAssociations(List<Association> associations)
Sets theAssociations for thisSchema- Parameters:
associations- Associação- Returns:
Schemafor method chaining
-
setEntityContainers
public Schema setEntityContainers(List<EntityContainer> entityContainers)
Sets theEntityContainers for thisSchema- Parameters:
entityContainers- Containers- Returns:
Schemafor method chaining
-
setAnnotationAttributes
public Schema setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Sets the List ofAnnotationAttributefor thisSchema- Parameters:
annotationAttributes- Atrinbutos- Returns:
Schemafor method chaining
-
setAnnotationElements
public Schema setAnnotationElements(List<AnnotationElement> annotationElements)
Sets the List ofAnnotationElementfor thisSchema- Parameters:
annotationElements- Elementos- Returns:
Schemafor method chaining
-
getEntityTypes
public List<EntityType> getEntityTypes()
- Returns:
- List<
EntityType> of thisSchema
-
getEntityType
public EntityType getEntityType(String name)
-
getComplexTypes
public List<ComplexType> getComplexTypes()
- Returns:
- List<
ComplexType> of thisSchema
-
getAssociations
public List<Association> getAssociations()
- Returns:
- List<
Association> of thisSchema
-
getEntityContainers
public List<EntityContainer> getEntityContainers()
- Returns:
- List<
EntityContainer> of thisSchema
-
getAnnotationAttributes
public List<AnnotationAttribute> getAnnotationAttributes()
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
public List<AnnotationElement> getAnnotationElements()
- Returns:
- List of
AnnotationElementannotation elements
-
-