com.redhat.persistence.pdl.nodes
Class PropertyNd
java.lang.Object
com.redhat.persistence.pdl.nodes.Node
com.redhat.persistence.pdl.nodes.StatementNd
com.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>
Fields inherited from class com.redhat.persistence.pdl.nodes.Node |
ALL |
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 |
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
PropertyNd
public PropertyNd()
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 21 2004:2337 UTC