public Parameter(String name, Entity entity) { super(entity); this.name = name; if(entity instanceof com.sun.tools.ws.wsdl.document.Message){ this.entityName = ((com.sun.tools.ws.wsdl.document.Message)entity).getName(); }else if(entity instanceof MessagePart){ this.entityName = ((MessagePart)entity).getName(); }else{ this.entityName = name; } }
@Override public void validate(EntityReferenceValidator validator) { GloballyValidatingAction action = new GloballyValidatingAction(this, validator); withAllSubEntitiesDo(action); if (action.getException() != null) { throw action.getException(); } }
protected com.sun.tools.ws.wsdl.document.Message getOutputMessage() { if (info.portTypeOperation.getOutput() == null) { return null; } return info.portTypeOperation.getOutput().resolveMessage(info.document); }
public void validateThis() { if (getName() == null) { failValidation("validation.missingRequiredAttribute", "name"); } }
public void validateThis() { if (getName() == null) { failValidation("validation.missingRequiredAttribute", "name"); } if (_portType == null) { failValidation("validation.missingRequiredAttribute", "type"); } }
public void validateThis() { if (_location == null) { failValidation("validation.missingRequiredAttribute", "location"); } if (_namespace == null) { failValidation("validation.missingRequiredAttribute", "namespace"); } }
@Override public void validateThis() { if (_name == null) { failValidation("validation.missingRequiredAttribute", "name"); } if (_message == null) { failValidation("validation.missingRequiredAttribute", "message"); } }
@Override public void validate(EntityReferenceValidator validator) { GloballyValidatingAction action = new GloballyValidatingAction(this, validator); withAllSubEntitiesDo(action); if (action.getException() != null) { throw action.getException(); } }
public Parameter(String name, Entity entity) { super(entity); this.name = name; if(entity instanceof com.sun.tools.ws.wsdl.document.Message){ this.entityName = ((com.sun.tools.ws.wsdl.document.Message)entity).getName(); }else if(entity instanceof MessagePart){ this.entityName = ((MessagePart)entity).getName(); }else{ this.entityName = name; } }
protected com.sun.tools.ws.wsdl.document.Message getOutputMessage() { if (info.portTypeOperation.getOutput() == null) { return null; } return info.portTypeOperation.getOutput().resolveMessage(info.document); }
@Override public void validate(EntityReferenceValidator validator) { GloballyValidatingAction action = new GloballyValidatingAction(this, validator); withAllSubEntitiesDo(action); if (action.getException() != null) { throw action.getException(); } }
public Parameter(String name, Entity entity) { super(entity); this.name = name; if(entity instanceof com.sun.tools.ws.wsdl.document.Message){ this.entityName = ((com.sun.tools.ws.wsdl.document.Message)entity).getName(); }else if(entity instanceof MessagePart){ this.entityName = ((MessagePart)entity).getName(); }else{ this.entityName = name; } }
protected com.sun.tools.ws.wsdl.document.Message getOutputMessage() { if (info.portTypeOperation.getOutput() == null) { return null; } return info.portTypeOperation.getOutput().resolveMessage(info.document); }
@Override public void validate(EntityReferenceValidator validator) { GloballyValidatingAction action = new GloballyValidatingAction(this, validator); withAllSubEntitiesDo(action); if (action.getException() != null) { throw action.getException(); } }
public Parameter(String name, Entity entity) { super(entity); this.name = name; if(entity instanceof com.sun.tools.ws.wsdl.document.Message){ this.entityName = ((com.sun.tools.ws.wsdl.document.Message)entity).getName(); }else if(entity instanceof MessagePart){ this.entityName = ((MessagePart)entity).getName(); }else{ this.entityName = name; } }
protected com.sun.tools.ws.wsdl.document.Message getOutputMessage() { if (info.portTypeOperation.getOutput() == null) { return null; } return info.portTypeOperation.getOutput().resolveMessage(info.document); }