wt.dataops.objectcol.xmldef
Class RelationshipXMLDefAdapter

java.lang.Object
  extended bywt.dataops.objectcol.xmldef.BaseXMLDefAdapter
      extended bywt.dataops.objectcol.xmldef.ConditionXMLDefAdapter
          extended bywt.dataops.objectcol.xmldef.RelationshipXMLDefAdapter
All Implemented Interfaces:
CriterionDefTags
Direct Known Subclasses:
RelatedByRelationshipXMLDefAdapter

public class RelationshipXMLDefAdapter
extends ConditionXMLDefAdapter


Field Summary
protected  String inputNameForRecurse
           
protected  String inputNameForSeeds
           
protected  Class relationshipClass
           
protected  String roleName
           
protected  Map seedTypes
           
 
Fields inherited from class wt.dataops.objectcol.xmldef.ConditionXMLDefAdapter
delegates
 
Fields inherited from class wt.dataops.objectcol.xmldef.BaseXMLDefAdapter
inputMap, root
 
Fields inherited from interface wt.dataops.objectcol.xmldef.CriterionDefTags
ALLOW_SUBTYPES_XML_TAG, ATTR_XML_TAG, BASE_XML_TAG, BY_METHOD_XML_TAG, BY_RELATIONSHIP_XML_TAG, CLASSNAME_XML_TAG, COLLECT_OTHER_END_XML_TAG, COLLECT_REL_BY_XML_TAG, CONCAT_CHAR_XML_TAG, CONDITION_XML_TAG, CONTENT_XML_TAG, DEFAULT_VALUE_XML_TAG, DELEGATE_NAME_XML_TAG, DELEGATE_XML_TAG, DERIVE_XML_TAG, DERIVED_XML_TAG, DESCRIPTION_XML_TAG, DISPLAY_NAME_XML_TAG, FIELD_XML_TAG, FILTER_XML_TAG, IF_EXISTS_XML_TAG, INCLUDE_DESCENDANTS_XML_TAG, INCLUDE_TYPES_XML_TAG, INPUT_XML_TAG, LINK_XML_TAG, MATCH_XML_TAG, META_DATA_XML_TAG, METHOD_DEF_XML_TAG, METHOD_XML_TAG, NAME_XML_TAG, OBJECT_TYPE_XML_TAG, OBJECTREF, OTHER_END_DEPENDANT_XML_TAG, OUTPUT_TYPE_XML_TAG, OUTPUT_TYPES_XML_TAG, PARAM_XML_TAG, PARAMS_XML_TAG, PATTERN_XML_TAG, POST_PROCESS_XML_TAG, PRIMITIVE_XML_TAG, RECURSE_XML_TAG, RELATED_XML_TAG, RELATIONSHIP_XML_TAG, REQUIRED_XML_TAG, RESOURCE_XML_TAG, RETURN_TYPE_XML_TAG, ROLE_XML_TAG, SEED_XML_TAG, SEEDS_XML_TAG, STRING, TYPE_XML_TAG, UNIQUE_NAME_XML_TAG, USED_AS_XML_TAG, XMLDEF_OBJECT_KEY
 
Constructor Summary
RelationshipXMLDefAdapter()
           
 
Method Summary
protected  List getAllSeedElements()
           
 String getInputNameForRecurse()
           
 String getInputNameForSeeds()
           
 Class getRelationshipClass()
           
protected  Element getRelationshipElement()
           
 String getRoleName()
           
protected  Element getSeedsElement()
           
 Map getSeedTypes()
           
protected  Map initClassSubtypeMap(List allelts)
           
protected  void initialize(Element content)
           
protected  String initRecurseInputName()
           
 Class initRelationshipClass()
           
 String initRoleName()
           
protected  String initSeedsInputName()
           
 Map initSeedTypes()
           
static RelationshipXMLDefAdapter newRelationshipXMLDefAdapter(Element content)
           
 
Methods inherited from class wt.dataops.objectcol.xmldef.ConditionXMLDefAdapter
getAllDelegates, initDelegateInfo, newConditionXMLDefAdapter
 
Methods inherited from class wt.dataops.objectcol.xmldef.BaseXMLDefAdapter
derivedValue, getAllInputs, getClassValueFromElement, getDefaultValueForNamedInput, getDefaultValueForNamedInput, getInputNameForElement, getInputType, getMatchingMatcher, getNameValueFromElement, getRequiredInputs, initInputMap, isInputRequired, matches, matches, newBaseXMLDefAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

relationshipClass

protected Class relationshipClass

roleName

protected String roleName

seedTypes

protected Map seedTypes

inputNameForSeeds

protected String inputNameForSeeds

inputNameForRecurse

protected String inputNameForRecurse
Constructor Detail

RelationshipXMLDefAdapter

public RelationshipXMLDefAdapter()
Method Detail

newRelationshipXMLDefAdapter

public static RelationshipXMLDefAdapter newRelationshipXMLDefAdapter(Element content)
                                                              throws WTException
Throws:
WTException

initialize

protected void initialize(Element content)
                   throws WTException
Overrides:
initialize in class ConditionXMLDefAdapter
Throws:
WTException

initSeedsInputName

protected String initSeedsInputName()
                             throws WTException
Throws:
WTException

initRecurseInputName

protected String initRecurseInputName()
                               throws WTException
Throws:
WTException

initRelationshipClass

public Class initRelationshipClass()
                            throws WTException
Throws:
WTException

initRoleName

public String initRoleName()
                    throws WTException
Throws:
WTException

initSeedTypes

public Map initSeedTypes()
                  throws WTException
Throws:
WTException

initClassSubtypeMap

protected Map initClassSubtypeMap(List allelts)
                           throws WTException
Throws:
WTException

getAllSeedElements

protected List getAllSeedElements()
                           throws NoSuchDomElementException
Throws:
NoSuchDomElementException

getSeedsElement

protected Element getSeedsElement()
                           throws NoSuchDomElementException
Throws:
NoSuchDomElementException

getSeedTypes

public Map getSeedTypes()

getInputNameForSeeds

public String getInputNameForSeeds()

getInputNameForRecurse

public String getInputNameForRecurse()

getRelationshipElement

protected Element getRelationshipElement()
                                  throws NoSuchDomElementException
Throws:
NoSuchDomElementException

getRelationshipClass

public Class getRelationshipClass()
Returns:

getRoleName

public String getRoleName()
Returns: