예제 #1
0
 @Override
 protected void readAttributes(XMLStreamReader reader, MdmiBusinessElementRule object) {
   object.setName(reader.getAttributeValue(null, BusinessElemRuleValidate.s_nameField));
   object.setDescription(reader.getAttributeValue(null, BusinessElemRuleValidate.s_descName));
   object.setRuleExpressionLanguage(
       reader.getAttributeValue(null, BusinessElemRuleValidate.s_ruleLangName));
 }
예제 #2
0
 @Override
 protected void readSingleChildElement(
     XMLStreamReader reader,
     ParsingInfo parsingInfo,
     RawRoot root,
     Map<String, Object> objectMap,
     MdmiBusinessElementRule object)
     throws XMLStreamException {
   // Read rule element
   if (s_ruleReader.canRead(reader)) {
     object.setRule(s_ruleReader.readAndBuild(reader, parsingInfo, root, objectMap));
   }
 }
예제 #3
0
 @Override
 protected String getObjectName(MdmiBusinessElementRule object) {
   return object.getName();
 }