wt.epm.structure
Class LinkProxy.Role

java.lang.Object
  extended bywt.epm.structure.LinkProxy.Role
Enclosing class:
LinkProxy

public abstract static class LinkProxy.Role
extends Object

Represents the Role for a LinkProxy. Only two instances of this class exist, one for Role A and the other for Role B.


Field Summary
private  String name
           
private  String referenceName
           
protected static LinkProxy.Role ROLEA
           
protected static LinkProxy.Role ROLEB
           
 
Constructor Summary
protected LinkProxy.Role(String name, String referenceName)
           
 
Method Summary
 String getName()
           
abstract  Persistable getObject(LinkProxy proxy)
           
abstract  QueryKey getObjectId(LinkProxy proxy)
           
abstract  LinkProxy.Role getOtherSideRole()
           
 String getRefName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private String name

referenceName

private String referenceName

ROLEA

protected static final LinkProxy.Role ROLEA

ROLEB

protected static final LinkProxy.Role ROLEB
Constructor Detail

LinkProxy.Role

protected LinkProxy.Role(String name,
                         String referenceName)
Method Detail

getName

public String getName()

getRefName

public String getRefName()

getObjectId

public abstract QueryKey getObjectId(LinkProxy proxy)

getObject

public abstract Persistable getObject(LinkProxy proxy)

getOtherSideRole

public abstract LinkProxy.Role getOtherSideRole()