|
|||||||||||
| 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 | |
|---|---|
Vector<Entry> |
getAttributes(String artifactType,
String classType)
Retrieves the attributes of a given artifact (CI or a Relationship). |
String |
getCdmVersion()
Retrieves the version of the Common Data Model, which meta-data is extracted. |
protected String |
getIdentifierName(NamingRuleIdentifier identifier)
Generate proper name for provided NamingRuleIdentifier. |
protected List<NamingRule> |
getNamingRules(String classType)
Returns the CDM naming rules for the provided class. |
Map<String,Object> |
getTypes(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 Vector<Entry> getAttributes(String artifactType,
String classType)
throws 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.
Exception - if a problem occurs.
public String getCdmVersion()
throws Exception
getCdmVersion in class MetaDataException - if a problem occurs.
public Map<String,Object> getTypes(String artifactType)
throws Exception
getTypes in class MetaDataartifactType - determines the type of artifact - either
IdMLConstants.ARTIFACT_CI or
IdMLConstants.ARTIFACT_RELATIONSHIP.
Exception - if a problem occurs.
protected List<NamingRule> getNamingRules(String classType)
throws Exception
getNamingRules in class MetaDataclassType - the class type of interest.
Exception - if a problem occurs when reading the rules.protected 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 | ||||||||||