com.redhat.persistence.metadata
Class Role

java.lang.Object
  extended bycom.redhat.persistence.metadata.Element
      extended bycom.redhat.persistence.metadata.Property
          extended bycom.redhat.persistence.metadata.Role

public class Role
extends Property

Role

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.metadata.Property
Property.Switch
 
Field Summary
static String versionId
           
 
Constructor Summary
Role(String name, ObjectType type, boolean isComponent, boolean isCollection, boolean isNullable)
           
 
Method Summary
 void dispatch(Property.Switch sw)
           
 Role getReverse()
           
 ObjectType getType()
           
 boolean isCollection()
           
 boolean isComponent()
           
 boolean isComposite()
           
 boolean isNullable()
           
 boolean isReversable()
           
 void setNullable(boolean value)
           
 void setReverse(Role reverse)
           
 
Methods inherited from class com.redhat.persistence.metadata.Property
getContainer, getName, getRoot, isKeyProperty, toString
 
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
Constructor Detail

Role

public Role(String name,
            ObjectType type,
            boolean isComponent,
            boolean isCollection,
            boolean isNullable)
Method Detail

getType

public ObjectType getType()
Specified by:
getType in class Property

isComponent

public boolean isComponent()
Specified by:
isComponent in class Property

isComposite

public boolean isComposite()
Specified by:
isComposite in class Property

isNullable

public boolean isNullable()
Specified by:
isNullable in class Property

setNullable

public void setNullable(boolean value)

isCollection

public boolean isCollection()
Specified by:
isCollection in class Property

isReversable

public boolean isReversable()

getReverse

public Role getReverse()

setReverse

public void setReverse(Role reverse)

dispatch

public void dispatch(Property.Switch sw)
Specified by:
dispatch in class Property


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