Project Aristotle - ArisID Attribute Services

org.openliberty.arisidbeans
Class ObjRelationDescriptor

java.lang.Object
  extended by org.openliberty.arisidbeans.ObjRelationDescriptor

public class ObjRelationDescriptor
extends java.lang.Object

The ObjRelationDescriptor class is used to maintain ObjectRelations related information and the corresponding get/set methods. List of ObjRelationDescriptor objects are created by the ObjRelationParser while parsing the ObjRelations file. This ObjRelationDescriptor List is accessed in Velocity templates for generating the additional bean methods.


Field Summary
static int AND_FILTER
           
static int FORWARD_TRAVERSAL
           
static int OR_FILTER
           
static int REVERSE_TRAVERSAL
           
 
Method Summary
 void addIdentityBeanReference(java.lang.String identityBean, java.lang.String attributeName, java.lang.String objRelationRef)
           
 void addObjRelationMethod(int traversalType, java.lang.String methodName, java.lang.String methodDescription, java.lang.String boolMethodName, java.lang.String boolMethodDescription, java.lang.String inputObject, java.util.List<java.lang.String> returnObject, int filterType, java.util.List<java.lang.String> attributeFilter)
           
 java.lang.String getAttributeName()
           
 java.util.List<IDBeanRefDescriptor> getExtIdentityBeanRefs()
           
 java.lang.String getIdentityBean()
           
 IDBeanRefDescriptor getIdentityBeanRef()
           
 java.util.List<ObjRelationMethodDescriptor> getObjRelationMethods()
           
 java.lang.String getRelationName()
           
 java.lang.String getSearchInteraction()
           
 void setSearchInteraction(java.lang.String searchInteraction)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORWARD_TRAVERSAL

public static final int FORWARD_TRAVERSAL
See Also:
Constant Field Values

REVERSE_TRAVERSAL

public static final int REVERSE_TRAVERSAL
See Also:
Constant Field Values

AND_FILTER

public static final int AND_FILTER
See Also:
Constant Field Values

OR_FILTER

public static final int OR_FILTER
See Also:
Constant Field Values
Method Detail

addIdentityBeanReference

public void addIdentityBeanReference(java.lang.String identityBean,
                                     java.lang.String attributeName,
                                     java.lang.String objRelationRef)

addObjRelationMethod

public void addObjRelationMethod(int traversalType,
                                 java.lang.String methodName,
                                 java.lang.String methodDescription,
                                 java.lang.String boolMethodName,
                                 java.lang.String boolMethodDescription,
                                 java.lang.String inputObject,
                                 java.util.List<java.lang.String> returnObject,
                                 int filterType,
                                 java.util.List<java.lang.String> attributeFilter)

getRelationName

public java.lang.String getRelationName()

getIdentityBean

public java.lang.String getIdentityBean()

getAttributeName

public java.lang.String getAttributeName()

getIdentityBeanRef

public IDBeanRefDescriptor getIdentityBeanRef()

getExtIdentityBeanRefs

public java.util.List<IDBeanRefDescriptor> getExtIdentityBeanRefs()

getObjRelationMethods

public java.util.List<ObjRelationMethodDescriptor> getObjRelationMethods()

getSearchInteraction

public java.lang.String getSearchInteraction()

setSearchInteraction

public void setSearchInteraction(java.lang.String searchInteraction)

OpenLiberty.org - Licensed under Apache APL 2.0