|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.schema.impl.osl.TypeSpecification
public class TypeSpecification
INTERNAL: Represents the allowed type of a topic map object.
Constructor Summary | |
---|---|
TypeSpecification()
INTERNAL: Creates a new type specification. |
Method Summary | |
---|---|
boolean |
equals(TMObjectMatcherIF object)
INTERNAL: Returns true if this object equals the given parameter. |
TMObjectMatcherIF |
getClassMatcher()
INTERNAL: Returns the matcher used to match the allowed type. |
boolean |
getSubclasses()
INTERNAL: If true, subclasses of the matched topic are allowed. |
boolean |
matches(TMObjectIF object)
INTERNAL: Matches the type of the given object, which must implement the TypedIF interface. |
boolean |
matchType(TopicIF type)
INTERNAL: Returns true if the given topic defines an acceptable type. |
void |
setClassMatcher(TMObjectMatcherIF matcher)
INTERNAL: Sets the object used to match the type. |
void |
setSubclasses(boolean subclasses)
INTERNAL: Controls whether subclasses of the matched topic are accepted. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeSpecification()
Method Detail |
---|
public TMObjectMatcherIF getClassMatcher()
public void setClassMatcher(TMObjectMatcherIF matcher)
public boolean getSubclasses()
public void setSubclasses(boolean subclasses)
public boolean matchType(TopicIF type)
type
- A candidate acceptable type.public boolean matches(TMObjectIF object)
matches
in interface TMObjectMatcherIF
public boolean equals(TMObjectMatcherIF object)
TMObjectMatcherIF
equals
in interface TMObjectMatcherIF
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |