com.redhat.persistence.metadata
Class Role
java.lang.Object
com.redhat.persistence.metadata.Element
com.redhat.persistence.metadata.Property
com.redhat.persistence.metadata.Role
- public class Role
- extends Property
Role
- Version:
- $Revision: #4 $ $Date: 2004/04/07 $
- Author:
- Rafael H. Schloming <rhs@mit.edu>
Constructor Summary |
Role(String name,
ObjectType type,
boolean isComponent,
boolean isCollection,
boolean isNullable)
|
versionId
public static final String versionId
- See Also:
- Constant Field Values
Role
public Role(String name,
ObjectType type,
boolean isComponent,
boolean isCollection,
boolean isNullable)
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 21 2004:2337 UTC