org.kuali.student.contract.model
Class Constraint

java.lang.Object
  extended by org.kuali.student.contract.model.Constraint

public class Constraint
extends Object

This models a constraint either an in-line one or one defined as part of the bank of constraints. Note: Cross-object Constraints are not modeled here.

Author:
nwright

Field Summary
protected  String lookupContext
           
protected  String minOccurs
           
static String NINE_NINES
           
static String UNBOUNDED
           
 
Constructor Summary
Constraint()
           
 
Method Summary
 String getClassName()
          Get the value of className
 String getComments()
          Get the value of comments
 String getDesc()
          Get the value of desc
 String getId()
          Get the value of id
 String getKey()
          Get the value of key
 String getLookup()
          Get the value of lookup
 String getLookupContext()
          Get the value of lookupContext
 String getMaxLength()
          Get the value of maxLength
 String getMaxOccurs()
          Get the value of maxOccurs
 String getMaxValue()
          Get the value of maxValue
 String getMessageId()
           
 String getMinLength()
          Get the value of minLength
 String getMinOccurs()
          Get the value of minOccurs
 String getMinValue()
          Get the value of minValue
 String getServerSide()
          Get the value of serverSide
 String getValidChars()
          Get the value of validChars
 boolean isInline()
           
 void setClassName(String className)
          Set the value of className
 void setComments(String comments)
          Set the value of comments
 void setDesc(String desc)
          Set the value of desc
 void setId(String id)
          Set the value of id
 void setInline(boolean inline)
           
 void setKey(String key)
          Set the value of key
 void setLookup(String lookup)
          Set the value of lookup
 void setLookupContext(String lookupContext)
          Set the value of lookupContext
 void setMaxLength(String maxLength)
          Set the value of maxLength
 void setMaxOccurs(String maxOccurs)
          Set the value of maxOccurs
 void setMaxValue(String maxValue)
          Set the value of maxValue
 void setMessageId(String messageId)
           
 void setMinLength(String minLength)
          Set the value of minLength
 void setMinOccurs(String minOccurs)
          Set the value of minOccurs
 void setMinValue(String minValue)
          Set the value of minValue
 void setServerSide(String serverSide)
          Set the value of serverSide
 void setValidChars(String validChars)
          Set the value of validChars
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNBOUNDED

public static final String UNBOUNDED
See Also:
Constant Field Values

NINE_NINES

public static final String NINE_NINES
See Also:
Constant Field Values

minOccurs

protected String minOccurs

lookupContext

protected String lookupContext
Constructor Detail

Constraint

public Constraint()
Method Detail

getId

public String getId()
Get the value of id

Returns:
the value of id

setId

public void setId(String id)
Set the value of id

Parameters:
id - new value of id

getKey

public String getKey()
Get the value of key

Returns:
the value of key

setKey

public void setKey(String key)
Set the value of key

Parameters:
key - new value of key

getDesc

public String getDesc()
Get the value of desc

Returns:
the value of desc

setDesc

public void setDesc(String desc)
Set the value of desc

Parameters:
desc - new value of desc

getServerSide

public String getServerSide()
Get the value of serverSide

Returns:
the value of serverSide

setServerSide

public void setServerSide(String serverSide)
Set the value of serverSide

Parameters:
serverSide - new value of serverSide

getMinLength

public String getMinLength()
Get the value of minLength

Returns:
the value of minLength

setMinLength

public void setMinLength(String minLength)
Set the value of minLength

Parameters:
minLength - new value of minLength

getMaxLength

public String getMaxLength()
Get the value of maxLength

Returns:
the value of maxLength

setMaxLength

public void setMaxLength(String maxLength)
Set the value of maxLength

Parameters:
maxLength - new value of maxLength

getMinValue

public String getMinValue()
Get the value of minValue

Returns:
the value of minValue

setMinValue

public void setMinValue(String minValue)
Set the value of minValue

Parameters:
minValue - new value of minValue

getMaxValue

public String getMaxValue()
Get the value of maxValue

Returns:
the value of maxValue

setMaxValue

public void setMaxValue(String maxValue)
Set the value of maxValue

Parameters:
maxValue - new value of maxValue

getMinOccurs

public String getMinOccurs()
Get the value of minOccurs

Returns:
the value of minOccurs

setMinOccurs

public void setMinOccurs(String minOccurs)
Set the value of minOccurs

Parameters:
minOccurs - new value of minOccurs

getMaxOccurs

public String getMaxOccurs()
Get the value of maxOccurs

Returns:
the value of maxOccurs

setMaxOccurs

public void setMaxOccurs(String maxOccurs)
Set the value of maxOccurs

Parameters:
maxOccurs - new value of maxOccurs

getValidChars

public String getValidChars()
Get the value of validChars

Returns:
the value of validChars

setValidChars

public void setValidChars(String validChars)
Set the value of validChars

Parameters:
validChars - new value of validChars

getLookup

public String getLookup()
Get the value of lookup

Returns:
the value of lookup

setLookup

public void setLookup(String lookup)
Set the value of lookup

Parameters:
lookup - new value of lookup

getLookupContext

public String getLookupContext()
Get the value of lookupContext

Returns:
the value of lookupContext

setLookupContext

public void setLookupContext(String lookupContext)
Set the value of lookupContext

Parameters:
lookupContext - new value of lookupContext

getComments

public String getComments()
Get the value of comments

Returns:
the value of comments

setComments

public void setComments(String comments)
Set the value of comments

Parameters:
comments - new value of comments

getClassName

public String getClassName()
Get the value of className

Returns:
the value of className

setClassName

public void setClassName(String className)
Set the value of className

Parameters:
className - new value of className

getMessageId

public String getMessageId()

setMessageId

public void setMessageId(String messageId)

isInline

public boolean isInline()

setInline

public void setInline(boolean inline)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.