net.ontopia.topicmaps.impl.utils
Class Argument

java.lang.Object
  extended by net.ontopia.topicmaps.impl.utils.Argument

public class Argument
extends java.lang.Object

INTERNAL: Represents one argument in the signature checked by ArgumentValidator.


Constructor Summary
Argument()
           
 
Method Summary
 void addType(java.lang.Class<?> type)
           
 boolean allows(java.lang.Class<?> type)
           
 java.lang.Class<?>[] getTypes()
           
 boolean isMultiValue()
           
 boolean isOptional()
           
 boolean isRepeatable()
           
 boolean mustBeBound()
           
 boolean requires(java.lang.Class<?> type)
           
 void setMultiValue()
           
 void setMustBeBound()
           
 void setOptional()
           
 void setRepeatable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Argument

public Argument()
Method Detail

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.