|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.zeus.util.ZeusTask.Constraint
Constraint
is an inner class used to represent a single
constraint element (constraint
). It determines all
of the attributes specified on that element.
Constructor Summary | |
ZeusTask.Constraint()
This constraint sets up default values. |
Method Summary | |
boolean |
collapseSimpleElements()
This will indicate whether or not simple elements are collapsed. |
java.io.File |
getConstraintFile()
This will return the Java File object representing the
constraint to use for source code generation. |
java.lang.String |
getJavaPackage()
This returns the Java package used in generated classes. |
java.lang.String |
getType()
This will return the type of constraint being processed. |
boolean |
ignoreIDAttributes()
This indicates whether or not ID attributes are ignored in the constraint generation and determination of simple elements. |
void |
setCollapseSimpleElements(boolean collapseSimpleElements)
This will set whether or not simple elements are collapsed. |
void |
setConstraintFile(java.io.File constraintFile)
This will set the file to use as a constraint for source code generation. |
void |
setIgnoreIDAttributes(boolean ignoreIDAttributes)
This will set whether or not to ignore ID attributes when determining if an element is "simple". |
void |
setJavaPackage(java.lang.String javaPackage)
This sets the Java package to use for generated classes. |
void |
setType(java.lang.String type)
This will set the constraint type of the constraint file supplied. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ZeusTask.Constraint()
This constraint sets up default values.
Method Detail |
public java.io.File getConstraintFile()
This will return the Java File
object representing the
constraint to use for source code generation.
File
- the constraint to generate code from.public void setConstraintFile(java.io.File constraintFile)
This will set the file to use as a constraint for source code generation.
constraintFile
- File
for XML constraint set.public java.lang.String getType()
This will return the type of constraint being processed.
String
- the constraint type.public void setType(java.lang.String type)
This will set the constraint type of the constraint file supplied.
type
- the type of constraint to process.public java.lang.String getJavaPackage()
This returns the Java package used in generated classes.
String
- the Java package for generated classes.public void setJavaPackage(java.lang.String javaPackage)
This sets the Java package to use for generated classes.
javaPackage
- the package to use for generated classes.public boolean ignoreIDAttributes()
This indicates whether or not ID attributes are ignored in the constraint generation and determination of simple elements.
boolean
- whether ID attributes are ignored.public void setIgnoreIDAttributes(boolean ignoreIDAttributes)
This will set whether or not to ignore ID attributes when determining if an element is "simple".
ignoreIDAttributes
- whether or not to ignore ID attributes.public boolean collapseSimpleElements()
This will indicate whether or not simple elements are collapsed.
boolean
- whether or not simple elements are
collapsed.public void setCollapseSimpleElements(boolean collapseSimpleElements)
This will set whether or not simple elements are collapsed.
collapseSimpleElements
- - whether or not simple elements
are collapsed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |