net.ontopia.topicmaps.impl.utils
Class Argument
java.lang.Object
net.ontopia.topicmaps.impl.utils.Argument
public class Argument
- extends java.lang.Object
INTERNAL: Represents one argument in the signature checked by
ArgumentValidator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Argument
public Argument()
addType
public void addType(java.lang.Class<?> type)
getTypes
public java.lang.Class<?>[] getTypes()
setOptional
public void setOptional()
setRepeatable
public void setRepeatable()
setMustBeBound
public void setMustBeBound()
setMultiValue
public void setMultiValue()
isOptional
public boolean isOptional()
isRepeatable
public boolean isRepeatable()
isMultiValue
public boolean isMultiValue()
mustBeBound
public boolean mustBeBound()
allows
public boolean allows(java.lang.Class<?> type)
requires
public boolean requires(java.lang.Class<?> type)
Copyright © 2000-2012 Ontopia.