org.kuali.student.contract.writer.service
Class PureJavaInfcWriter

java.lang.Object
  extended by org.kuali.student.contract.writer.service.PureJavaInfcWriter

public class PureJavaInfcWriter
extends Object

Author:
nwright

Field Summary
static String DEFAULT_ROOT_PACKAGE
           
private  String directory
           
private  ServicesFilter filter
           
private  ServiceContractModel model
           
private  String rootPackage
           
 
Constructor Summary
PureJavaInfcWriter(ServiceContractModel model, String directory, String rootPackage, ServicesFilter filter)
           
 
Method Summary
private  List<Service> filterServices()
           
private  Map<String,ServiceMethodError> getServiceMethodErrors()
           
private  Set<XmlType> getXmlTypesUsedByMoreThanOneByService()
           
private  void validate()
           
 void write()
          Write out the entire file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

private ServiceContractModel model

directory

private String directory

rootPackage

private String rootPackage

DEFAULT_ROOT_PACKAGE

public static final String DEFAULT_ROOT_PACKAGE
See Also:
Constant Field Values

filter

private ServicesFilter filter
Constructor Detail

PureJavaInfcWriter

public PureJavaInfcWriter(ServiceContractModel model,
                          String directory,
                          String rootPackage,
                          ServicesFilter filter)
Method Detail

write

public void write()
Write out the entire file

Parameters:
out -

getXmlTypesUsedByMoreThanOneByService

private Set<XmlType> getXmlTypesUsedByMoreThanOneByService()

getServiceMethodErrors

private Map<String,ServiceMethodError> getServiceMethodErrors()

filterServices

private List<Service> filterServices()

validate

private void validate()


Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.