|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.schema.impl.osl.TopicConstraintCollection
public abstract class TopicConstraintCollection
INTERNAL: Abstract superclass for objects that contain topic constraints.
Field Summary | |
---|---|
protected java.util.Collection |
basenames
|
protected java.lang.String |
id
|
protected java.util.Collection |
occurrences
|
protected java.util.Collection |
roles
|
protected OSLSchema |
schema
|
protected java.util.Collection |
subrules
|
Constructor Summary | |
---|---|
TopicConstraintCollection(OSLSchema schema,
java.lang.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. |
java.util.Collection |
getAllOccurrenceConstraints()
INTERNAL: Returns the complete set of occurrence constraints in this collection, including those of sub collections. |
java.util.Collection |
getAllRoleConstraints()
INTERNAL: Returns the complete set of role constraints in this collection, including those of sub collections. |
java.util.Collection |
getAllTopicNameConstraints()
INTERNAL: Returns the complete set of base name constraints in this collection, including those of sub collections. |
java.lang.String |
getId()
INTERNAL: Returns the ID of the collection. |
java.util.Collection |
getOccurrenceConstraints()
INTERNAL: Returns the set of occurrence constraints in this collection. |
java.util.Collection |
getRoleConstraints()
INTERNAL: Returns the set of role constraints in this collection. |
java.util.Collection |
getSubRules()
INTERNAL: Returns the set of sub collections of this collection. |
java.util.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 java.util.Collection basenames
protected java.util.Collection occurrences
protected java.util.Collection roles
protected java.util.Collection subrules
protected java.lang.String id
Constructor Detail |
---|
public TopicConstraintCollection(OSLSchema schema, java.lang.String id)
schema
- The parent schema.id
- The ID of the collection. May be null.Method Detail |
---|
public java.lang.String getId()
public void addTopicNameConstraint(TopicNameConstraint constraint)
public void addOccurrenceConstraint(OccurrenceConstraint constraint)
public void addRoleConstraint(TopicRoleConstraint constraint)
public void addSubRule(TopicConstraintCollection subrule)
public java.util.Collection getSubRules()
public java.util.Collection getTopicNameConstraints()
public java.util.Collection getOccurrenceConstraints()
public java.util.Collection getRoleConstraints()
public java.util.Collection getAllTopicNameConstraints()
public java.util.Collection getAllOccurrenceConstraints()
public java.util.Collection getAllRoleConstraints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |