com.sage.orion.sdata.servlet.accpac
Class ClassMapContract

java.lang.Object
  extended by com.sage.orion.sdata.servlet.accpac.ClassMapContract

public class ClassMapContract
extends java.lang.Object

A contract, especially as configured in the xml files


Constructor Summary
ClassMapContract()
           
 
Method Summary
 java.lang.String getName()
          Gets the Contract's name (in lower case)
 java.lang.Iterable<ClassMapResource> getResource(java.lang.String name)
          returns the list of resources with the given name
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassMapContract

public ClassMapContract()
Method Detail

getName

public java.lang.String getName()
Gets the Contract's name (in lower case)

Returns:
the name

getResource

public java.lang.Iterable<ClassMapResource> getResource(java.lang.String name)
returns the list of resources with the given name

Parameters:
name - the name of the resource to get
Returns:
the iterable list of resource or null if there are none

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011 Sage Software, Inc. All rights reserved.