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

Field Summary
private  List<MessageStructure> messageStructures
           
private  ServiceContractModel model
           
private  List<ServiceMethod> serviceMethods
           
private  List<Service> services
           
private  List<XmlType> xmlTypes
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

private ServiceContractModel model

serviceMethods

private List<ServiceMethod> serviceMethods

xmlTypes

private List<XmlType> xmlTypes

messageStructures

private List<MessageStructure> messageStructures

services

private List<Service> services
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


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