Constructor and Description |
---|
TMExporterDecider(Predicate<Object> filter)
Creates a new TMExporterDecider.
|
Modifier and Type | Method and Description |
---|---|
boolean |
test(AssociationIF association)
Return true iff the association type, each role player and each role type
are accepted.
|
boolean |
test(Object object)
Accepts or rejects AssociationIFs, TopicNameIFs, Collections, OccurrenceIFs,
TopicIFs and VariantNameIFs, base on the filter and their relations to
other objects.
|
boolean |
test(OccurrenceIF occurrence)
Return true iff the type of the occurrence is accepted
|
boolean |
test(TopicIF topic)
Return true iff the given topic, all of it's types and all types of the
types (etc.
|
boolean |
test(TopicNameIF baseName)
Accepts or rejects a TopicNameIF
|
boolean |
test(VariantNameIF variantName)
Accepts or rejects a VariantNameIF
|
public boolean test(Object object)
public boolean test(TopicNameIF baseName)
baseName
- to be accepted/rejected.public boolean test(VariantNameIF variantName)
variantName
- to be accepted/rejected.public boolean test(AssociationIF association)
association
- the association to test for acceptance.public boolean test(OccurrenceIF occurrence)
occurrence
- The occurence to test for acceptance. It is assumed that
occurrence will only be tested for acceptance if its parent topic
has already been tested and passed.public boolean test(TopicIF topic)
topic
- The topic to test for acceptance.