Package org.hibernate.validator.internal.metadata.descriptor

Examples of org.hibernate.validator.internal.metadata.descriptor.ExecutableDescriptorImpl


    return returnValueMetaData;
  }

  @Override
  public ExecutableDescriptorImpl asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) {
    return new ExecutableDescriptorImpl(
        getType(),
        getName(),
        asDescriptors( getCrossParameterConstraints() ),
        returnValueMetaData.asDescriptor(
            defaultGroupSequenceRedefined,
View Full Code Here


  }

  @Override
  public ElementDescriptor asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) {

    return new ExecutableDescriptorImpl(
        getKind() == ConstraintMetaDataKind.METHOD ? Kind.METHOD : Kind.CONSTRUCTOR,
        getType(),
        getName(),
        asDescriptors( getCrossParameterConstraints() ),
        returnValueMetaData.asDescriptor(
View Full Code Here

    return returnValueMetaData;
  }

  @Override
  public ExecutableDescriptorImpl asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) {
    return new ExecutableDescriptorImpl(
        getType(),
        getName(),
        asDescriptors( getCrossParameterConstraints() ),
        returnValueMetaData.asDescriptor(
            defaultGroupSequenceRedefined,
View Full Code Here

    return returnValueMetaData;
  }

  @Override
  public ExecutableDescriptorImpl asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) {
    return new ExecutableDescriptorImpl(
        getType(),
        getName(),
        asDescriptors( getCrossParameterConstraints() ),
        returnValueMetaData.asDescriptor(
            defaultGroupSequenceRedefined,
View Full Code Here

    return returnValueMetaData;
  }

  @Override
  public ExecutableDescriptorImpl asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) {
    return new ExecutableDescriptorImpl(
        getType(),
        getName(),
        asDescriptors( getCrossParameterConstraints() ),
        returnValueMetaData.asDescriptor(
            defaultGroupSequenceRedefined,
View Full Code Here

  }

  @Override
  public ElementDescriptor asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) {

    return new ExecutableDescriptorImpl(
        getKind() == ConstraintMetaDataKind.METHOD ? Kind.METHOD : Kind.CONSTRUCTOR,
        getType(),
        getName(),
        asDescriptors( getConstraints() ),
        returnValueAsDescriptor( defaultGroupSequenceRedefined, defaultGroupSequence ),
View Full Code Here

    return returnValueMetaData;
  }

  @Override
  public ExecutableDescriptorImpl asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) {
    return new ExecutableDescriptorImpl(
        getType(),
        getName(),
        asDescriptors( getCrossParameterConstraints() ),
        returnValueMetaData.asDescriptor(
            defaultGroupSequenceRedefined,
View Full Code Here

  @Override
  public ElementDescriptor asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) {

    if ( super.getKind() == ConstraintMetaDataKind.METHOD ) {
      return new ExecutableDescriptorImpl(
          getType(),
          getName(),
          asDescriptors( getConstraints() ),
          returnValueAsDescriptor( defaultGroupSequenceRedefined, defaultGroupSequence ),
          parametersAsDescriptors( defaultGroupSequenceRedefined, defaultGroupSequence ),
          defaultGroupSequenceRedefined,
          defaultGroupSequence
      );
    }
    else {
      return new ExecutableDescriptorImpl(
          getType(),
          asDescriptors( getConstraints() ),
          returnValueAsDescriptor( defaultGroupSequenceRedefined, defaultGroupSequence ),
          parametersAsDescriptors( defaultGroupSequenceRedefined, defaultGroupSequence ),
          defaultGroupSequenceRedefined,
View Full Code Here

    return returnValueMetaData;
  }

  @Override
  public ExecutableDescriptorImpl asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) {
    return new ExecutableDescriptorImpl(
        getType(),
        getName(),
        asDescriptors( getCrossParameterConstraints() ),
        returnValueMetaData.asDescriptor(
            defaultGroupSequenceRedefined,
View Full Code Here

    return returnValueMetaData;
  }

  @Override
  public ExecutableDescriptorImpl asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) {
    return new ExecutableDescriptorImpl(
        getType(),
        getName(),
        asDescriptors( getCrossParameterConstraints() ),
        returnValueMetaData.asDescriptor(
            defaultGroupSequenceRedefined,
View Full Code Here

TOP

Related Classes of org.hibernate.validator.internal.metadata.descriptor.ExecutableDescriptorImpl

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.