org.hyphenType.datastructure.parser
Class StructureArgument

java.lang.Object
  extended by org.hyphenType.datastructure.parser.StructureElement
      extended by org.hyphenType.datastructure.parser.StructureArgument
All Implemented Interfaces:
Comparable<StructureArgument>
Direct Known Subclasses:
StructureOptionArgument, StructureSimpleArgument

public abstract class StructureArgument
extends StructureElement
implements Comparable<StructureArgument>

Author:
Aurelio Akira M. Matsui

Field Summary
 
Fields inherited from class org.hyphenType.datastructure.parser.StructureElement
method
 
Constructor Summary
StructureArgument(String name, Method method, boolean mandatory, int index, String regex, List<InputChannel> channels, String description)
           
 
Method Summary
 int compareTo(StructureArgument other)
           
 List<InputChannel> getChannels()
           
 String getDescription()
           
 int getIndex()
           
 String getName()
           
 String getRegex()
           
 boolean isMandatory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructureArgument

public StructureArgument(String name,
                         Method method,
                         boolean mandatory,
                         int index,
                         String regex,
                         List<InputChannel> channels,
                         String description)
Method Detail

getName

public String getName()

isMandatory

public boolean isMandatory()

getIndex

public int getIndex()

getRegex

public String getRegex()

getChannels

public List<InputChannel> getChannels()

getDescription

public String getDescription()

compareTo

public int compareTo(StructureArgument other)
Specified by:
compareTo in interface Comparable<StructureArgument>


Copyright © 2013. All Rights Reserved.