org.openliberty.arisidbeans
Class CarmlParser
java.lang.Object
org.openliberty.arisidbeans.CarmlParser
public class CarmlParser
- extends java.lang.Object
Class for parsing the CARML file and creating InteractionDescriptor list and
AttributeDescriptor list for all interactions and attributes in the CARML
file
InteractionDescriptor and AttributeDescriptor lists are used by Bean
Generator for generating the bean classes
Constructor Summary |
CarmlParser(java.lang.String carmlFile,
java.lang.String defaultEntityName)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CarmlParser
public CarmlParser(java.lang.String carmlFile,
java.lang.String defaultEntityName)
throws java.io.FileNotFoundException,
AttrSvcInitializedException,
AuthenticationException,
NoSuchContextException,
NoSuchSubjectException,
SubjectNotUniqueException,
java.lang.InstantiationException,
IGFException,
java.lang.IllegalAccessException,
java.net.URISyntaxException
- Throws:
java.io.FileNotFoundException
AttrSvcInitializedException
AuthenticationException
NoSuchContextException
NoSuchSubjectException
SubjectNotUniqueException
java.lang.InstantiationException
IGFException
java.lang.IllegalAccessException
java.net.URISyntaxException
getApplicationName
public java.lang.String getApplicationName()
getCarmlURI
public java.lang.String getCarmlURI()
useDefaultEntityName
public boolean useDefaultEntityName()
getCarmlInteractions
public java.util.List<InteractionDescriptor> getCarmlInteractions(java.lang.String entity)
getCarmlAttributes
public java.util.List<AttributeDescriptor> getCarmlAttributes(java.lang.String entity)
getCarmlAttributes
public java.util.Map<java.lang.String,java.util.List<AttributeDescriptor>> getCarmlAttributes()
getEntityNames
public java.util.List<java.lang.String> getEntityNames()
getDefaultReadInteraction
public java.lang.String getDefaultReadInteraction(java.lang.String entity)
getDefaultFindInteraction
public java.lang.String getDefaultFindInteraction(java.lang.String entity)
getReadInteraction
public java.lang.String getReadInteraction(java.lang.String normEntityName,
java.lang.String fetchAttrName)
getFindInteraction
public java.lang.String getFindInteraction(java.lang.String normEntityName,
java.lang.String fetchAttrName,
java.lang.String attrFilterName)
getSearchInteraction
public java.lang.String getSearchInteraction(java.lang.String normEntityName,
java.lang.String fetchAttrName,
java.lang.String attrFilterName)