Package org.jboss.shrinkwrap.descriptor.spi.node

Examples of org.jboss.shrinkwrap.descriptor.spi.node.Node


    * Otherwise, the existing <code>method-params</code> element will be returned.
    * @return  a new or existing instance of <code>MethodParamsType<MethodType<T>></code>
    */
   public MethodParamsType<MethodType<T>> getOrCreateMethodParams()
   {
      Node node = childNode.getOrCreate("method-params");
      MethodParamsType<MethodType<T>> methodParams = new MethodParamsTypeImpl<MethodType<T>>(this, "method-params", childNode, node);
      return methodParams;
   }
View Full Code Here


    * Otherwise, the existing <code>validated-by</code> element will be returned.
    * @return  a new or existing instance of <code>ValidatedByType<ConstraintDefinitionType<T>></code>
    */
   public ValidatedByType<ConstraintDefinitionType<T>> getOrCreateValidatedBy()
   {
      Node node = childNode.getOrCreate("validated-by");
      ValidatedByType<ConstraintDefinitionType<T>> validatedBy = new ValidatedByTypeImpl<ConstraintDefinitionType<T>>(this, "validated-by", childNode, node);
      return validatedBy;
   }
View Full Code Here

    * Otherwise, the existing <code>relationship-role-source</code> element will be returned.
    * @return  a new or existing instance of <code>RelationshipRoleSourceType<EjbRelationshipRoleType<T>></code>
    */
   public RelationshipRoleSourceType<EjbRelationshipRoleType<T>> getOrCreateRelationshipRoleSource()
   {
      Node node = childNode.getOrCreate("relationship-role-source");
      RelationshipRoleSourceType<EjbRelationshipRoleType<T>> relationshipRoleSource = new RelationshipRoleSourceTypeImpl<EjbRelationshipRoleType<T>>(this, "relationship-role-source", childNode, node);
      return relationshipRoleSource;
   }
View Full Code Here

    * Otherwise, the existing <code>cmr-field</code> element will be returned.
    * @return  a new or existing instance of <code>CmrFieldType<EjbRelationshipRoleType<T>></code>
    */
   public CmrFieldType<EjbRelationshipRoleType<T>> getOrCreateCmrField()
   {
      Node node = childNode.getOrCreate("cmr-field");
      CmrFieldType<EjbRelationshipRoleType<T>> cmrField = new CmrFieldTypeImpl<EjbRelationshipRoleType<T>>(this, "cmr-field", childNode, node);
      return cmrField;
   }
View Full Code Here

    * Otherwise, the existing <code>groups</code> element will be returned.
    * @return  a new or existing instance of <code>GroupsType<ConstraintType<T>></code>
    */
   public GroupsType<ConstraintType<T>> getOrCreateGroups()
   {
      Node node = childNode.getOrCreate("groups");
      GroupsType<ConstraintType<T>> groups = new GroupsTypeImpl<ConstraintType<T>>(this, "groups", childNode, node);
      return groups;
   }
View Full Code Here

    * Otherwise, the existing <code>payload</code> element will be returned.
    * @return  a new or existing instance of <code>PayloadType<ConstraintType<T>></code>
    */
   public PayloadType<ConstraintType<T>> getOrCreatePayload()
   {
      Node node = childNode.getOrCreate("payload");
      PayloadType<ConstraintType<T>> payload = new PayloadTypeImpl<ConstraintType<T>>(this, "payload", childNode, node);
      return payload;
   }
View Full Code Here

    * Otherwise, the existing <code>validator</code> element will be returned.
    * @return  a new or existing instance of <code>ValidatorType<TldTaglibType<T>></code>
    */
   public ValidatorType<TldTaglibType<T>> getOrCreateValidator()
   {
      Node node = childNode.getOrCreate("validator");
      ValidatorType<TldTaglibType<T>> validator = new ValidatorTypeImpl<TldTaglibType<T>>(this, "validator", childNode, node);
      return validator;
   }
View Full Code Here

    * Otherwise, the existing <code>deferred-value</code> element will be returned.
    * @return  a new or existing instance of <code>TldDeferredValueType<TldAttributeType<T>></code>
    */
   public TldDeferredValueType<TldAttributeType<T>> getOrCreateDeferredValue()
   {
      Node node = childNode.getOrCreate("deferred-value");
      TldDeferredValueType<TldAttributeType<T>> deferredValue = new TldDeferredValueTypeImpl<TldAttributeType<T>>(this, "deferred-value", childNode, node);
      return deferredValue;
   }
View Full Code Here

    * Otherwise, the existing <code>deferred-method</code> element will be returned.
    * @return  a new or existing instance of <code>TldDeferredMethodType<TldAttributeType<T>></code>
    */
   public TldDeferredMethodType<TldAttributeType<T>> getOrCreateDeferredMethod()
   {
      Node node = childNode.getOrCreate("deferred-method");
      TldDeferredMethodType<TldAttributeType<T>> deferredMethod = new TldDeferredMethodTypeImpl<TldAttributeType<T>>(this, "deferred-method", childNode, node);
      return deferredMethod;
   }
View Full Code Here

   // Constructor
   // -------------------------------------------------------------------------------------||

   public ValidationMappingDescriptorImpl(String descriptorName)
   {
       this(descriptorName, new Node("constraint-mappings"));
   }
View Full Code Here

TOP

Related Classes of org.jboss.shrinkwrap.descriptor.spi.node.Node

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.