wt.clients.prodmgmt
Class DescribedByAssociationsModel

java.lang.Object
  extended bywt.clients.prodmgmt.DescribedByAssociationsModel
All Implemented Interfaces:
AssociationsModel

public class DescribedByAssociationsModel
extends Object
implements AssociationsModel


Field Summary
private  WTPart part
           
 
Constructor Summary
DescribedByAssociationsModel()
           
 
Method Summary
 QueryResult getAssociations()
          Returns a QueryResult containing the documents which describe the context part.
 WTPart getPart()
          Return the whose described by associations are available from this AssocationsModel.
 void setPart(WTPart part)
          Sets the WTPart whose described by associations are available from this model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

part

private WTPart part
Constructor Detail

DescribedByAssociationsModel

public DescribedByAssociationsModel()
Method Detail

getPart

public WTPart getPart()
Return the whose described by associations are available from this AssocationsModel.

Returns:
the WTPart whose described by associations are available from this model

Supported API: false

Extendable: false

setPart

public void setPart(WTPart part)
Sets the WTPart whose described by associations are available from this model.

Parameters:
part - the WTPart whose associations are available from this model

getAssociations

public QueryResult getAssociations()
                            throws WTException
Returns a QueryResult containing the documents which describe the context part.

Specified by:
getAssociations in interface AssociationsModel
Returns:
the QueryResult of describing documents
Throws:
WTException - if an error occurs retrieving the describing documents