Exemple #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));
 }
Exemple #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));
   }
 }
Exemple #3
0
 @Override
 protected String getObjectName(MdmiBusinessElementRule object) {
   return object.getName();
 }