@Test public void testValidate() { pnrValid.validate(); }
@Override public void validate() throws BadRequestException { if (!isValid()) { throw new BadRequestException(getMessageResponseStatus(), getMessage()); } }
PortNumberRule implements Rule { @Override public void validate() throws BadRequestException { if (!isValid()) { throw new BadRequestException(getMessageResponseStatus(), getMessage()); } } }
PortNumberRule implements Rule { @Override public void validate() throws BadRequestException { if (!isValid()) { throw new BadRequestException(getMessageResponseStatus(), getMessage()); } } PortNumberRule(final Integer thePort, final FaultType errorCode);  PortNumberRule(final Integer thePort, final FaultType errorCode, final boolean nullable); }
PortNumberRule implements Rule { @Override public void validate() throws BadRequestException { if (!isValid()) { throw new BadRequestException(getMessageResponseStatus(), getMessage()); } } PortNumberRule(final Integer thePort, final FaultType errorCode);  PortNumberRule(final Integer thePort, final FaultType errorCode, final boolean nullable); @Override boolean isValid(); @Override void validate(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); }
PortNumberRule implements Rule { @Override public void validate() throws BadRequestException { if (!isValid()) { throw new BadRequestException(getMessageResponseStatus(), getMessage()); } } PortNumberRule(final Integer thePort, final FaultType errorCode);  PortNumberRule(final Integer thePort, final FaultType errorCode, final boolean nullable); @Override boolean isValid(); @Override void validate(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }