nl.beesting.beangenerator.generator.re
Class ReverseLengthRExpression

java.lang.Object
  extended by nl.beesting.beangenerator.generator.re.ReverseRExpression
      extended by nl.beesting.beangenerator.generator.re.ReverseLengthRExpression
Direct Known Subclasses:
ReverseGreedyExpression

public class ReverseLengthRExpression
extends ReverseRExpression

Author:
gerard Represents a length RE e.g. {12}

Field Summary
 
Fields inherited from class nl.beesting.beangenerator.generator.re.ReverseRExpression
ANY, ANY_EXPR, CHAR, CHAR_EXPR, GREEDY, GROUP_END, GROUP_START, LENGTH, OR, RANGE
 
Constructor Summary
  ReverseLengthRExpression(long startLength, long endLength)
           
protected ReverseLengthRExpression(short type)
           
 
Method Summary
 long getEndLength()
           
 long getStartLength()
           
 void setEndLength(long endLength)
           
 void setStartLength(long startLength)
           
 java.lang.String toString()
           
 
Methods inherited from class nl.beesting.beangenerator.generator.re.ReverseRExpression
addSecundaryExpression, getGenerationInstruction, getSecundaryExpressions, getType, isPrimary, isPrimary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReverseLengthRExpression

public ReverseLengthRExpression(long startLength,
                                long endLength)

ReverseLengthRExpression

protected ReverseLengthRExpression(short type)
Method Detail

getEndLength

public long getEndLength()
Returns:
the endLength

setEndLength

public void setEndLength(long endLength)
Parameters:
endLength - the endLength to set

getStartLength

public long getStartLength()
Returns:
the startLength

setStartLength

public void setStartLength(long startLength)
Parameters:
startLength - the startLength to set

toString

public java.lang.String toString()
Overrides:
toString in class ReverseRExpression


Copyright 2008. All Rights Reserved.