public interface Exchangeable<FamilyType extends StructuralFamily>
This constitutes a surjective mapping of StructuralFamilys.
By default an
entity implementing Exchangeable is always exchangeable with itself.
| Modifier and Type | Method and Description |
|---|---|
default void |
addExchangeableFamily(FamilyType exchangeableFamily)
Adds an exchangeable
StructuralFamily. |
default Set<FamilyType> |
getContainingFamilies()
Returns all
StructuralFamily types that are defined, this is the concrete type of the Exchangeable itself plus all exchangeable types. |
default Set<FamilyType> |
getExchangeableFamilies()
Returns the
StructuralFamilys to which this entity is exchangeable. |
FamilyType |
getFamily()
Returns the
StructuralFamily of this entity. |
FamilyType getFamily()
StructuralFamily of this entity.StructuralFamilydefault Set<FamilyType> getExchangeableFamilies()
StructuralFamilys to which this entity is exchangeable. By default an entity is always
exchangeable to the same StructuralFamily.default Set<FamilyType> getContainingFamilies()
StructuralFamily types that are defined, this is the concrete type of the Exchangeable itself plus all exchangeable types.default void addExchangeableFamily(FamilyType exchangeableFamily)
StructuralFamily.exchangeableFamily - the StructuralFamily to be addedCopyright © 2018. All rights reserved.