org.kuali.student.contract.model.impl
Class ServiceContractModelCache

java.lang.Object
  extended by org.kuali.student.contract.model.impl.ServiceContractModelCache
All Implemented Interfaces:
ServiceContractModel

public class ServiceContractModelCache
extends Object
implements ServiceContractModel

This reads the supplied spreadsheet but then caches it so it doesn't have to re-read it again.

Author:
nwright

Constructor Summary
ServiceContractModelCache(ServiceContractModel model)
           
 
Method Summary
 List<MessageStructure> getMessageStructures()
          Get Message Structure Definitions
 List<ServiceMethod> getServiceMethods()
          Get service methods
 List<Service> getServices()
          get the service definitions
 List<String> getSourceNames()
           
 List<XmlType> getXmlTypes()
          load xml types
 String toString()
          Gets the structure of this object as a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceContractModelCache

public ServiceContractModelCache(ServiceContractModel model)
Method Detail

getServiceMethods

public List<ServiceMethod> getServiceMethods()
Description copied from interface: ServiceContractModel
Get service methods

Specified by:
getServiceMethods in interface ServiceContractModel
Returns:

getXmlTypes

public List<XmlType> getXmlTypes()
Description copied from interface: ServiceContractModel
load xml types

Specified by:
getXmlTypes in interface ServiceContractModel
Returns:

getMessageStructures

public List<MessageStructure> getMessageStructures()
Description copied from interface: ServiceContractModel
Get Message Structure Definitions

Specified by:
getMessageStructures in interface ServiceContractModel
Returns:

getServices

public List<Service> getServices()
Description copied from interface: ServiceContractModel
get the service definitions

Specified by:
getServices in interface ServiceContractModel
Returns:
list of services known to the metadata

getSourceNames

public List<String> getSourceNames()
Specified by:
getSourceNames in interface ServiceContractModel

toString

public String toString()
Description copied from interface: ServiceContractModel
Gets the structure of this object as a String.

Specified by:
toString in interface ServiceContractModel
Overrides:
toString in class Object


Copyright © 2004–2014 The Kuali Foundation. All rights reserved.