|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.print.ChildDefinition
public class ChildDefinition
Name: ChildDefinition
Description: A class for child definitions.
Field Summary | |
---|---|
static int |
UNLIMITED
Constant for the occurrences amount, interpreted as unlimited. |
Constructor Summary | |
---|---|
ChildDefinition(Class type,
int minOccurrences,
int maxOccurrences)
Constructs a ChildDefinition instance with specific arguments. |
Method Summary | |
---|---|
int |
getMaxOccurrences()
Gets the maximum occurrence of the item. |
int |
getMinOccurrences()
Gets the minimum occurrence of the item. |
Class |
getType()
Gets the child type. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int UNLIMITED
Constructor Detail |
---|
public ChildDefinition(Class type, int minOccurrences, int maxOccurrences)
type
- The child type.minOccurrences
- The minimum occurrences of the child.maxOccurrences
- The maximum occurrences of the child.Method Detail |
---|
public Class getType()
public int getMinOccurrences()
public int getMaxOccurrences()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |