com.redhat.persistence.pdl.nodes
Class PropertyNd

java.lang.Object
  extended bycom.redhat.persistence.pdl.nodes.Node
      extended bycom.redhat.persistence.pdl.nodes.StatementNd
          extended bycom.redhat.persistence.pdl.nodes.PropertyNd

public class PropertyNd
extends StatementNd

Property

Version:
$Revision: #4 $ $Date: 2004/04/07 $
Author:
Rafael H. Schloming <rhs@mit.edu>

Nested Class Summary
 
Nested classes inherited from class com.redhat.persistence.pdl.nodes.Node
Node.Field, Node.Filter, Node.IncludeFilter, Node.Switch, Node.Traversal
 
Field Summary
static Node.Field MAPPING
           
static Node.Field NAME
           
static Node.Field TYPE
           
static String versionId
           
 
Fields inherited from class com.redhat.persistence.pdl.nodes.Node
ALL
 
Constructor Summary
PropertyNd()
           
 
Method Summary
 void dispatch(Node.Switch sw)
           
 Integer getLower()
           
 Node getMapping()
           
 IdentifierNd getName()
           
 TypeNd getType()
           
 Integer getUpper()
           
 boolean isCollection()
           
 boolean isComponent()
           
 boolean isComposite()
           
 boolean isImmediate()
           
 boolean isNullable()
           
 boolean isUnique()
           
 boolean isUnversioned()
          Returns true if this property is marked "unversioned" in the PDL.
 boolean isVersioned()
          Returns true if this property is marked "versioned" in the PDL.
 void setComponent()
           
 void setComposite()
           
 void setImmediate()
           
 void setLower(Integer lower)
           
 void setUnique()
           
 void setUnversioned()
           
 void setUpper(Integer upper)
           
 void setVersioned()
           
 
Methods inherited from class com.redhat.persistence.pdl.nodes.Node
add, get, getColumn, getField, getFields, getFile, getIndex, getLine, getLocation, getParent, setColumn, setLine, toString, traverse, traverse, traverse, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values

TYPE

public static final Node.Field TYPE

NAME

public static final Node.Field NAME

MAPPING

public static final Node.Field MAPPING
Constructor Detail

PropertyNd

public PropertyNd()
Method Detail

setImmediate

public void setImmediate()

isImmediate

public boolean isImmediate()

setUnique

public void setUnique()

setComponent

public void setComponent()

setComposite

public void setComposite()

getLower

public Integer getLower()

setLower

public void setLower(Integer lower)

getUpper

public Integer getUpper()

setUpper

public void setUpper(Integer upper)

setVersioned

public void setVersioned()
See Also:
isVersioned()

setUnversioned

public void setUnversioned()
See Also:
isUnversioned()

isUnique

public boolean isUnique()

isComponent

public boolean isComponent()

isComposite

public boolean isComposite()

isCollection

public boolean isCollection()

isNullable

public boolean isNullable()

isVersioned

public boolean isVersioned()
Returns true if this property is marked "versioned" in the PDL.

See Also:
isUnversioned(), setVersioned()

isUnversioned

public boolean isUnversioned()
Returns true if this property is marked "unversioned" in the PDL.

Note that isUnversioned() is not the same as !isVersioned(). If the property is marked neither "versioned", nor "unversioned" (as most properties are), then both of these methods return false. However, if one of them returns true, then other returns false.

See Also:
isVersioned(), setVersioned()

dispatch

public void dispatch(Node.Switch sw)
Overrides:
dispatch in class StatementNd

getName

public IdentifierNd getName()

getType

public TypeNd getType()

getMapping

public Node getMapping()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC