|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.qbe.model.structure.DataMartEntity
public class DataMartEntity
The Class DataMartEntity.
Constructor Summary | |
---|---|
DataMartEntity(java.lang.String name,
java.lang.String path,
java.lang.String role,
java.lang.String type,
DataMartModelStructure structure)
Instantiates a new data mart entity. |
Method Summary | |
---|---|
DataMartField |
addKeyField(java.lang.String fieldName)
Adds the key field. |
DataMartField |
addNormalField(java.lang.String fieldName)
Adds the normal field. |
DataMartEntity |
addSubEntity(java.lang.String subEntityName,
java.lang.String subEntityRole,
java.lang.String subEntityType)
Adds the sub entity. |
java.util.List |
getAllFieldOccurencesOnSubEntity(java.lang.String entityName,
java.lang.String fieldName)
Gets the all field occurences on sub entity. |
java.util.List |
getAllFields()
Gets the all fields. |
java.util.List |
getAllSubEntities()
Gets the all sub entities. |
java.util.List |
getAllSubEntities(java.lang.String entityName)
Gets the all sub entities. |
DataMartField |
getField(java.lang.String fieldName)
Gets the field. |
long |
getId()
Gets the id. |
java.util.Iterator |
getKeyFieldIterator()
Gets the key field iterator. |
java.util.List |
getKeyFields()
Gets the key fields. |
java.lang.String |
getName()
Gets the name. |
java.util.Iterator |
getNormalFieldIterator()
Gets the normal field iterator. |
java.util.List |
getNormalFields()
Gets the normal fields. |
DataMartEntity |
getParent()
Gets the parent. |
java.lang.String |
getPath()
Gets the path. |
java.lang.String |
getRole()
Gets the role. |
DataMartEntity |
getRoot()
Gets the root. |
DataMartModelStructure |
getStructure()
Gets the structure. |
java.util.List |
getSubEntities()
Gets the sub entities. |
DataMartEntity |
getSubEntity(java.lang.String entityUniqueName)
Gets the sub entity. |
java.lang.String |
getType()
Gets the type. |
java.lang.String |
getUniqueName()
Gets the unique name. |
java.lang.String |
getUniqueType()
|
void |
setName(java.lang.String name)
Sets the name. |
void |
setParent(DataMartEntity parent)
Sets the parent. |
void |
setPath(java.lang.String path)
Sets the path. |
void |
setRole(java.lang.String role)
Sets the role. |
void |
setRoot(DataMartEntity root)
Sets the root. |
protected void |
setStructure(DataMartModelStructure structure)
Sets the structure. |
void |
setType(java.lang.String type)
Sets the type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataMartEntity(java.lang.String name, java.lang.String path, java.lang.String role, java.lang.String type, DataMartModelStructure structure)
name
- the namepath
- the pathrole
- the roletype
- the typestructure
- the structureMethod Detail |
---|
public java.lang.String getUniqueName()
public java.lang.String getUniqueType()
public DataMartField addNormalField(java.lang.String fieldName)
fieldName
- the field name
public DataMartField addKeyField(java.lang.String fieldName)
fieldName
- the field name
public DataMartField getField(java.lang.String fieldName)
fieldName
- the field name
public java.util.List getAllFields()
public java.util.List getKeyFields()
public java.util.Iterator getKeyFieldIterator()
public java.util.List getNormalFields()
public java.util.Iterator getNormalFieldIterator()
public DataMartEntity addSubEntity(java.lang.String subEntityName, java.lang.String subEntityRole, java.lang.String subEntityType)
subEntityName
- the sub entity namesubEntityRole
- the sub entity rolesubEntityType
- the sub entity type
public DataMartEntity getSubEntity(java.lang.String entityUniqueName)
entityUniqueName
- the entity unique name
public java.util.List getSubEntities()
public java.util.List getAllSubEntities()
public java.util.List getAllSubEntities(java.lang.String entityName)
entityName
- the entity name
public java.util.List getAllFieldOccurencesOnSubEntity(java.lang.String entityName, java.lang.String fieldName)
entityName
- the entity namefieldName
- the field name
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public DataMartModelStructure getStructure()
protected void setStructure(DataMartModelStructure structure)
structure
- the new structurepublic DataMartEntity getParent()
public void setParent(DataMartEntity parent)
parent
- the new parentpublic java.lang.String getPath()
public void setPath(java.lang.String path)
path
- the new pathpublic java.lang.String getRole()
public void setRole(java.lang.String role)
role
- the new rolepublic java.lang.String getType()
public void setType(java.lang.String type)
type
- the new typepublic void setName(java.lang.String name)
name
- the new namepublic long getId()
public DataMartEntity getRoot()
public void setRoot(DataMartEntity root)
root
- the new root
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |