com.redhat.persistence.metadata
Class Link

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

public class Link
extends Property

Link

Version:
$Revision: #5 $ $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
Link(String name, Role from, Role to, boolean isCollection, boolean isNullable)
           
 
Method Summary
 void dispatch(Property.Switch sw)
           
 Role getFrom()
           
 ObjectType getLinkType()
           
 Role getTo()
           
 ObjectType getType()
           
 boolean isCollection()
           
 boolean isComponent()
           
 boolean isComposite()
           
 boolean isNullable()
           
 
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

Link

public Link(String name,
            Role from,
            Role to,
            boolean isCollection,
            boolean isNullable)
Method Detail

getType

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

isCollection

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

isNullable

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

isComponent

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

isComposite

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

getFrom

public Role getFrom()

getTo

public Role getTo()

getLinkType

public ObjectType getLinkType()

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