public class EntityContainer extends NamedObject
Constructor and Description |
---|
EntityContainer(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<AssociationSet> |
getAssociations()
Returns the list of associations.
|
List<EntitySet> |
getEntities()
Returns the list of entities.
|
EntityContainer |
getExtended()
Returns the container this container inherits from.
|
List<FunctionImport> |
getFunctionImports()
Returns the list of function imports.
|
Schema |
getSchema()
Returns the schema.
|
boolean |
isDefaultEntityContainer()
Return true if this container is the default one for a WCF data service.
|
void |
setAssociations(List<AssociationSet> associations)
Sets the list of associations.
|
void |
setDefaultEntityContainer(boolean defaultEntityContainer)
Indicates if this container is the default one for a WCF data service.
|
void |
setEntities(List<EntitySet> entities)
Sets the list of entities.
|
void |
setExtended(EntityContainer extended)
Sets the container this container inherits from.
|
void |
setFunctionImports(List<FunctionImport> functionImports)
Sets the list of function imports.
|
void |
setSchema(Schema schema)
Sets the schema.
|
equals, getName, getNormalizedName, hashCode, toString
public EntityContainer(String name)
name
- The name of this entity container.public List<AssociationSet> getAssociations()
public List<EntitySet> getEntities()
public EntityContainer getExtended()
public List<FunctionImport> getFunctionImports()
public Schema getSchema()
public boolean isDefaultEntityContainer()
public void setAssociations(List<AssociationSet> associations)
associations
- The list of associations.public void setDefaultEntityContainer(boolean defaultEntityContainer)
defaultEntityContainer
- True if this container is the default one for a WCF data
service.public void setEntities(List<EntitySet> entities)
entities
- The list of entities.public void setExtended(EntityContainer extended)
extended
- The container this container inherits from.public void setFunctionImports(List<FunctionImport> functionImports)
functionImports
- The list of function imports.public void setSchema(Schema schema)
schema
- The schema.Copyright © 2005–2019. All rights reserved.