| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.cdm.core.MetaData
com.ibm.di.cdm.jar.JarMetaData
public class JarMetaData
This class is used to retrieve CDM meta-data from a jar file.
| Field Summary | 
|---|
| Fields inherited from class com.ibm.di.cdm.core.MetaData | 
|---|
resHash | 
| Constructor Summary | |
|---|---|
JarMetaData()
 | 
|
| Method Summary | |
|---|---|
 java.util.Vector<Entry> | 
getAttributes(java.lang.String artifactType,
              java.lang.String classType)
Retrieves the attributes of a given artifact (CI or a Relationship).  | 
 java.lang.String | 
getCdmVersion()
Retrieves the version of the Common Data Model, which meta-data is extracted.  | 
protected  java.lang.String | 
getIdentifierName(NamingRuleIdentifier identifier)
Generate proper name for provided NamingRuleIdentifier.  | 
protected  java.util.List<NamingRule> | 
getNamingRules(java.lang.String classType)
Returns the CDM naming rules for the provided class.  | 
 java.util.Map<java.lang.String,java.lang.Object> | 
getTypes(java.lang.String artifactType)
Returns the CDM meta-data types artifacts (CIs or Relationships).  | 
| Methods inherited from class com.ibm.di.cdm.core.MetaData | 
|---|
createExplicitAttribute, createImplicitAttribute, getClassType, getExtendedAttributeName, getMSSClassName, getNamingRuleIdentifier, getRelationshipAttributes, getUnsatisfiedNamingRules, matchesNamingRules | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public JarMetaData()
| Method Detail | 
|---|
public java.util.Vector<Entry> getAttributes(java.lang.String artifactType,
                                             java.lang.String classType)
                                      throws java.lang.Exception
getAttributes in class MetaDataartifactType - determines the type of artifact, which attributes we want.
            Accepts either IdMLConstants.ARTIFACT_CI or
            IdMLConstants.ARTIFACT_RELATIONSHIP.classType - the type of the artifact, which attributes we want.
java.lang.Exception - if a problem occurs.
public java.lang.String getCdmVersion()
                               throws java.lang.Exception
getCdmVersion in class MetaDatajava.lang.Exception - if a problem occurs.
public java.util.Map<java.lang.String,java.lang.Object> getTypes(java.lang.String artifactType)
                                                          throws java.lang.Exception
getTypes in class MetaDataartifactType - determines the type of artifact - either
            IdMLConstants.ARTIFACT_CI or
            IdMLConstants.ARTIFACT_RELATIONSHIP.
java.lang.Exception - if a problem occurs.
protected java.util.List<NamingRule> getNamingRules(java.lang.String classType)
                                             throws java.lang.Exception
getNamingRules in class MetaDataclassType - the class type of interest.
java.lang.Exception - if a problem occurs when reading the rules.protected java.lang.String getIdentifierName(NamingRuleIdentifier identifier)
getIdentifierName in class MetaDataidentifier - whose name will be generate.
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||