org.openliberty.arisidbeans
Class BeanGenerator
java.lang.Object
org.openliberty.arisidbeans.BeanGenerator
public class BeanGenerator
- extends java.lang.Object
Class for generating the Identity Bean classes for a given CARML file.
Two files are generated for each CARML file - Manager.java and
.java. If the CARML filename is userbean.xml, then the generated
classes are BaseUserManager and User.
If ObjectRelations XML is also given, then it generates additional methods
for getting parent/child hierarchical data
Constructor Summary |
BeanGenerator(java.lang.String packageName,
java.lang.String outputDir,
java.lang.String objRelationFile,
java.lang.String carmlFile,
boolean genMapFile)
|
Method Summary |
java.lang.String |
getMapfileName()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanGenerator
public BeanGenerator(java.lang.String packageName,
java.lang.String outputDir,
java.lang.String objRelationFile,
java.lang.String carmlFile,
boolean genMapFile)
throws java.io.FileNotFoundException,
AttrSvcInitializedException,
AuthenticationException,
NoSuchContextException,
NoSuchSubjectException,
SubjectNotUniqueException,
java.lang.InstantiationException,
IGFException,
java.lang.IllegalAccessException,
java.net.URISyntaxException,
IDBeanException
- Throws:
java.io.FileNotFoundException
AttrSvcInitializedException
AuthenticationException
NoSuchContextException
NoSuchSubjectException
SubjectNotUniqueException
java.lang.InstantiationException
IGFException
java.lang.IllegalAccessException
java.net.URISyntaxException
IDBeanException
getMapfileName
public java.lang.String getMapfileName()
main
public static void main(java.lang.String[] args)