org.ujac.util.exi
Class AncestorDefinition

java.lang.Object
  extended by org.ujac.util.exi.AncestorDefinition

public class AncestorDefinition
extends Object

Title: AncestorDefinition
Description: Helper class for definitions of ancestors.

Author:
lauerc

Constructor Summary
AncestorDefinition(Integer type)
          Constructs a AncestorDefinition instance with specific attributes.
AncestorDefinition(Integer type, boolean optional)
          Constructs a AncestorDefinition instance with specific attributes.
AncestorDefinition(Integer type, boolean optional, boolean multiple)
          Constructs a AncestorDefinition instance with specific attributes.
 
Method Summary
 Integer getType()
          Gets the ancestor type.
 boolean isMultiple()
          Gets the multiple flag.
 boolean isOptional()
          Gets the optional flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AncestorDefinition

public AncestorDefinition(Integer type)
Constructs a AncestorDefinition instance with specific attributes.

Parameters:
type - The statement type.

AncestorDefinition

public AncestorDefinition(Integer type,
                          boolean optional)
Constructs a AncestorDefinition instance with specific attributes.

Parameters:
type - The statement type.
optional - The optional flag.

AncestorDefinition

public AncestorDefinition(Integer type,
                          boolean optional,
                          boolean multiple)
Constructs a AncestorDefinition instance with specific attributes.

Parameters:
type - The statement type.
optional - The optional flag.
multiple - The multiple flag.
Method Detail

getType

public Integer getType()
Gets the ancestor type.

Returns:
The ancestor type.

isOptional

public boolean isOptional()
Gets the optional flag.

Returns:
The optional flag.

isMultiple

public boolean isMultiple()
Gets the multiple flag.

Returns:
The multiple flag.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.