|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.fc.idml.md.MetaData
public abstract class MetaData
An abstract class that declares the routines to be used to retrieve the CDM meta-data.
| Field Summary | |
|---|---|
static String |
CDM_PREFIX
A prefix used for each CDM type and attribute name. |
protected static ResourceHash |
resHash
NLS Property set holding name-value pairs for the resource. |
| Constructor Summary | |
|---|---|
MetaData()
|
|
| Method Summary | |
|---|---|
abstract Vector<Entry> |
getAttributes(String artifactType,
String classType)
Retrieves the attributes of a given artifact (CI or a Relationship). |
abstract String |
getCdmVersion()
Retrieves the version of the Common Data Model, which meta-data is extracted. |
protected Vector<Entry> |
getRelationshipAttributes()
Returns the attributes supported by a Relationship. |
abstract Map<String,Object> |
getTypes(String artifactType)
Returns the CDM meta-data types artifacts (CIs or Relationships). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static ResourceHash resHash
public static final String CDM_PREFIX
| Constructor Detail |
|---|
public MetaData()
| Method Detail |
|---|
public abstract Vector<Entry> getAttributes(String artifactType,
String classType)
throws Exception
artifactType - 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 abstract String getCdmVersion()
throws Exception
Exception - if a problem occurs.
public abstract Map<String,Object> getTypes(String artifactType)
throws Exception
artifactType - determines the type of artifact - either
IdMLConstants.ARTIFACT_CI or
IdMLConstants.ARTIFACT_RELATIONSHIP.
Exception - if a problem occurs.
protected Vector<Entry> getRelationshipAttributes()
throws Exception
Exception - if a problem occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||