|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.schema.impl.osl.TopicConstraintCollection
public abstract class TopicConstraintCollection
INTERNAL: Abstract superclass for objects that contain topic constraints.
Field Summary | |
---|---|
protected Collection |
basenames
|
protected String |
id
|
protected Collection |
occurrences
|
protected Collection |
roles
|
protected OSLSchema |
schema
|
protected Collection |
subrules
|
Constructor Summary | |
---|---|
TopicConstraintCollection(OSLSchema schema,
String id)
INTERNAL: Creates a new collection of topic constraints. |
Method Summary | |
---|---|
void |
addOccurrenceConstraint(OccurrenceConstraint constraint)
INTERNAL: Adds a new occurrence constraint to the collection. |
void |
addRoleConstraint(TopicRoleConstraint constraint)
INTERNAL: Adds a new role constraint to the collection. |
void |
addSubRule(TopicConstraintCollection subrule)
INTERNAL: Adds a new sub collection to the collection. |
void |
addTopicNameConstraint(TopicNameConstraint constraint)
INTERNAL: Adds a new base name constraint to the collection. |
Collection |
getAllOccurrenceConstraints()
INTERNAL: Returns the complete set of occurrence constraints in this collection, including those of sub collections. |
Collection |
getAllRoleConstraints()
INTERNAL: Returns the complete set of role constraints in this collection, including those of sub collections. |
Collection |
getAllTopicNameConstraints()
INTERNAL: Returns the complete set of base name constraints in this collection, including those of sub collections. |
String |
getId()
INTERNAL: Returns the ID of the collection. |
Collection |
getOccurrenceConstraints()
INTERNAL: Returns the set of occurrence constraints in this collection. |
Collection |
getRoleConstraints()
INTERNAL: Returns the set of role constraints in this collection. |
Collection |
getSubRules()
INTERNAL: Returns the set of sub collections of this collection. |
Collection |
getTopicNameConstraints()
INTERNAL: Returns the set of base name constraints in this collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected OSLSchema schema
protected Collection basenames
protected Collection occurrences
protected Collection roles
protected Collection subrules
protected String id
Constructor Detail |
---|
public TopicConstraintCollection(OSLSchema schema, String id)
schema
- The parent schema.id
- The ID of the collection. May be null.Method Detail |
---|
public String getId()
public void addTopicNameConstraint(TopicNameConstraint constraint)
public void addOccurrenceConstraint(OccurrenceConstraint constraint)
public void addRoleConstraint(TopicRoleConstraint constraint)
public void addSubRule(TopicConstraintCollection subrule)
public Collection getSubRules()
public Collection getTopicNameConstraints()
public Collection getOccurrenceConstraints()
public Collection getRoleConstraints()
public Collection getAllTopicNameConstraints()
public Collection getAllOccurrenceConstraints()
public Collection getAllRoleConstraints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |