/** * @return the extId */ public String getExtId() { return adapter.getNodeAsString( adapter.getRootElement(), new XPath( "./rim:ExternalIdentifier/rim:Name/rim:LocalizedString/@value", ns ), null ); }
/** * @return the id */ public String getId() { return adapter.getRequiredNodeAsString( adapter.getRootElement(), new XPath( "./@id", ns ) ); }
private static String retrieveLiteral( OMElement value ) { XMLAdapter adapter = new XMLAdapter(); XPath xpath = new XPath( "//" + FES_PREFIX + ":Literal", NS_CONTEXT ); return adapter.getNodeAsString( value, xpath, null ); }
/** * @return the queryExpression */ public OMElement getQueryExpression() { return adapter.getElement( adapter.getRootElement(), new XPath( "./rim:QueryExpression", ns ) ); }
/** * @return the desc */ public String getDesc() { return adapter.getNodeAsString( adapter.getRootElement(), new XPath( "./rim:Description/rim:LocalizedString/@value", ns ), null ); }
/** * @return the targetObject */ public String getTargetObject() { return adapter.getRequiredNodeAsString( adapter.getRootElement(), new XPath( "@targetObject", ns ) ); }
/** * @return the home */ public String getHome() { return adapter.getNodeAsString( adapter.getRootElement(), new XPath( "./@home", ns ), null ); }
/** * @return the sourceObject */ public String getSourceObject() { return adapter.getRequiredNodeAsString( adapter.getRootElement(), new XPath( "@sourceObject", ns ) ); }
/** * @return the status */ public String getStatus() { return adapter.getNodeAsString( adapter.getRootElement(), new XPath( "./@status", ns ), null ); }
/** * @return the classifiedObject */ public String getClassifiedObject() { return adapter.getRequiredNodeAsString( adapter.getRootElement(), new XPath( "@classifiedObject", ns ) ); }
/** * @return the parent */ public String getParent() { return adapter.getNodeAsString( adapter.getRootElement(), new XPath( "./@parent", ns ), null ); }
/** * @return the associationType */ public String getAssociationType() { return adapter.getRequiredNodeAsString( adapter.getRootElement(), new XPath( "@associationType", ns ) ); }
/** * @return the code */ public String getCode() { return adapter.getNodeAsString( adapter.getRootElement(), new XPath( "./@code", ns ), null ); }
/** * @return the queryLanguage */ public String getQueryLanguage() { return adapter.getRequiredNodeAsString( adapter.getRootElement(), new XPath( "./@queryLanguage", ns ) ); }
/** * @return the name */ public String getROName() { return adapter.getNodeAsString( adapter.getRootElement(), new XPath( "./rim:Name/rim:LocalizedString/@value", ns ), null ); }
public String getSlotValue( String slotName ) { return adapter.getNodeAsString( adapter.getRootElement(), new XPath( "./rim:Slot[@name='" + slotName + "']/rim:ValueList/rim:Value[1]", ns ), null ); }
/** * @return the path */ public String getPath() { return adapter.getNodeAsString( adapter.getRootElement(), new XPath( "./@path", ns ), null ); }
/** * @return the classificationScheme */ public String getClassificationScheme() { return adapter.getNodeAsString( adapter.getRootElement(), new XPath( "@classificationScheme", ns ), null ); }
/** * @return the classificationNode */ public String getClassificationNode() { return adapter.getNodeAsString( adapter.getRootElement(), new XPath( "@classificationNode", ns ), null ); }
/** * @return the objectType */ public String getObjectType() { return adapter.getNodeAsString( adapter.getRootElement(), new XPath( "./@objectType", ns ), null ); }