|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.schema.impl.osl.AbstractCardinalityConstraint
net.ontopia.topicmaps.schema.impl.osl.AbstractScopedCardinalityConstraint
net.ontopia.topicmaps.schema.impl.osl.AbstractScopedTypedCardinalityConstraint
net.ontopia.topicmaps.schema.impl.osl.OccurrenceConstraint
public class OccurrenceConstraint
INTERNAL: Represents a constraint on the occurrences of a class of topics.
Field Summary | |
---|---|
static int |
RESOURCE_EITHER
INTERNAL: Used to indicate that occurrences can be either internal or external. |
static int |
RESOURCE_EXTERNAL
INTERNAL: Used to indicate that occurrences can only be external, that is be represented using the URI of the resource. |
static int |
RESOURCE_INTERNAL
INTERNAL: Used to indicate that occurrences can only be internal, that is be represented using the <resourceData> element in XTM 1.0. |
Fields inherited from interface net.ontopia.topicmaps.schema.core.CardinalityConstraintIF |
---|
INFINITY |
Constructor Summary | |
---|---|
OccurrenceConstraint(TopicConstraintCollection parent)
INTERNAL: Creates a new occurrence constraint in the given collection of topic constraints. |
Method Summary | |
---|---|
int |
getInternal()
INTERNAL: Returns a value indicating whether instances of this occurrence type can be internal, external, or both. |
void |
setInternal(int internal)
INTERNAL: Used to control whether instances of occurrence type can be internal, external, or both. |
Methods inherited from class net.ontopia.topicmaps.schema.impl.osl.AbstractScopedTypedCardinalityConstraint |
---|
getTypeSpecification, matches, setTypeSpecification |
Methods inherited from class net.ontopia.topicmaps.schema.impl.osl.AbstractScopedCardinalityConstraint |
---|
getScopeSpecification, setScopeSpecification |
Methods inherited from class net.ontopia.topicmaps.schema.impl.osl.AbstractCardinalityConstraint |
---|
getMaximum, getMinimum, setMaximum, setMinimum |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int RESOURCE_INTERNAL
public static final int RESOURCE_EXTERNAL
public static final int RESOURCE_EITHER
Constructor Detail |
---|
public OccurrenceConstraint(TopicConstraintCollection parent)
Method Detail |
---|
public void setInternal(int internal)
public int getInternal()
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |