public class Association extends NamedObject
Constructor and Description |
---|
Association(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<AssociationEnd> |
getEnds()
Returns the list of entities linked by this association.
|
Schema |
getSchema()
Returns the schema.
|
void |
setEnds(List<AssociationEnd> ends)
Sets the list of entities linked by this association.
|
void |
setSchema(Schema schema)
Sets the schema.
|
equals, getName, getNormalizedName, hashCode, toString
public Association(String name)
name
- The name of the schema.public List<AssociationEnd> getEnds()
public Schema getSchema()
public void setEnds(List<AssociationEnd> ends)
ends
- The list of entities linked by this association.public void setSchema(Schema schema)
schema
- The schema.Copyright © 2005–2017. All rights reserved.