1 23 24 package com.sun.enterprise.config.serverbeans.validation; 25 26 import java.util.Vector ; 27 28 35 36 public class ValidationDescriptor { 37 38 String elementName; 39 String xPath; 40 String customValidatorClass; 41 String key; 42 Vector attrType; 43 DomainMgr domainMgr; 44 String [] requiredChildren; 45 String [] exclusiveChildren; 46 47 public ValidationDescriptor(DomainMgr domainMgr, String elementName, 48 String xPath, String customValidatorClass, 49 String key, Vector attrType, 50 String [] required_children, String [] exclusive_children) { 51 this.domainMgr = domainMgr; 52 this.elementName = elementName; 53 this.xPath = xPath; 54 this.customValidatorClass = customValidatorClass; 55 this.key = key; 56 this.attrType = attrType; 57 this.requiredChildren = required_children; 58 this.exclusiveChildren = exclusive_children; 59 } 60 61 public String getElementName() { 62 return elementName; 63 } 64 65 public String getXPath() { 66 return xPath; 67 } 68 69 public String getCustomValidatorClass() { 70 return customValidatorClass; 71 } 72 73 public String getKey() { 74 return key; 75 } 76 public Vector getAttributes() { 77 return attrType; 78 } 79 80 public String [] getRequiredChildren() { 81 return requiredChildren; 82 } 83 84 public String [] getExclusiveChildren() { 85 return exclusiveChildren; 86 } 87 88 public DomainMgr getDomainMgr() { 89 return domainMgr; 90 } 91 } 92 | Popular Tags |