com.dbmain.jidbm
Class DBMConcreteObject

java.lang.Object
  extended by com.dbmain.jidbm.DBMGenericObject
      extended by com.dbmain.jidbm.DBMConcreteObject
Direct Known Subclasses:
DBMCollection, DBMDataObject, DBMElementRelation, DBMEnvironment, DBMGroup, DBMMetaObject, DBMMetaProperty, DBMProcessingUnitCardinality, DBMProduct, DBMProject, DBMResourceCardinality, DBMResourceSubType, DBMRole

public class DBMConcreteObject
extends DBMGenericObject

The DBMConcreteObject class represents concrete object objects of the DB-MAIN repository.


Field Summary
 
Fields inherited from class com.dbmain.jidbm.DBMGenericObject
ALLPARENTS, CLUSTER, CO_ATTRIBUTE, COLLECTION, CONNECTION, CONS_PU, CONS_RES, CONSTRAINT, CONSUMPTION, ELEMENT, ENTITY_TYPE, ENVIRONMENT, ETROUND, ETSHADOW, ETSQUARE, GRAPHCOUPLE, GROUP, HAVESEL, HIDEASSOCIATION, HIDEATT, HIDECTRLFLOW, HIDEEXTEND, HIDEGENACT, HIDEGENUC, HIDEGR, HIDEINCLUDE, HIDENEWADD, HIDENOTE, HIDEOBJFLOW, HIDEPRIMID, HIDEPROD, HIDEPU, HIDESTEREOTYPE, ISASTRAIGHT, LOCK_USED, MARK1, MARK2, MARK3, MARK4, MARK5, MEMBER_CST, META_OBJECT, META_PROPERTY, METH_USED, NN_NOTE, NOTE, PROC_UNIT, PROCESS_TITLE, PROD_SET, RE_ISA, REJECTED, REL_ELEMENT, REL_TYPE, RESOURCE, ROLE, RTROUND, RTSHADOW, RTSQUARE, SCHEMA, SELECT, SHOWTYPEATT, SI_ATTRIBUTE, STATE, SUB_TYPE, SYSTEM, TEXT, TEXT_LINE, UMLCENTER, UMLCENTERDOWN, UMLCENTERUP, UMLLEFTCENTER, UMLLEFTDOWN, UMLLEFTUP, UMLRIGHTCENTER, UMLRIGHTDOWN, UMLRIGHTUP, USER_OBJECT, USER_VIEW, WITHOUT_SELECT
 
Constructor Summary
DBMConcreteObject(int id)
          Creates a new instance of the DBMConcreteObject class representing the concrete object identified by id and the current project in DB-MAIN.
DBMConcreteObject(int id, long sysid)
          Creates a new instance of the DBMConcreteObject class representing the concrete object identified by id and sysid in the DB-MAIN repository.
 
Method Summary
 void deleteConcreteObject()
          Deletes the concrete object of the DB-MAIN repository represented by the current DBMConcreteObject instance.
 java.lang.String getName()
          Returns the name of the current concrete object.
 java.lang.String getQualifiedName(java.lang.String sep)
          Returns the qualified name for the current object.
 java.lang.String getSemanticDescription()
          Returns the semantic description of the current concrete object.
 java.lang.String getShortName()
          Returns the short name of the current concrete object.
 java.lang.String getTechnicalDescription()
          Returns the technical description of the current concrete object.
 void setName(java.lang.String val)
          Updates the value of name in the current concrete object in the DB-MAIN repository.
 void setSemanticDescription(java.lang.String val)
          Updates the value of semantic description in the current concrete object in the DB-MAIN repository.
 void setShortName(java.lang.String val)
          Updates the value of short name in the current concrete object in the DB-MAIN repository.
 void setTechnicalDescription(java.lang.String val)
          Updates the value of technical description in the current concrete object in the DB-MAIN repository.
 java.lang.String toString()
          Returns the string representation of a concrete object.
 
Methods inherited from class com.dbmain.jidbm.DBMGenericObject
addFirstNoteRelation, addFirstState, addFirstUserObject, addNextNoteRelation, addNextState, addNextUserObject, createNote, createNoteRelation, deleteGenericObject, equals, getFirstNoteRelation, getFirstState, getFirstUserObject, getFlag, getLastNoteRelation, getLastState, getLastUserObject, getMetaPropertyBooleanListValue, getMetaPropertyBooleanValue, getMetaPropertyCharListValue, getMetaPropertyCharValue, getMetaPropertyDoubleListValue, getMetaPropertyDoubleValue, getMetaPropertyIntListValue, getMetaPropertyIntValue, getMetaPropertyListValue, getMetaPropertyStringListValue, getMetaPropertyStringValue, getMetaPropertyValue, getNextNoteRelation, getNextState, getNextUserObject, getObjectIdentifier, getObjectType, getObjectTypeName, getPreviousNoteRelation, getPreviousState, getPreviousUserObject, getProjectIdentifier, hashCode, isAttribute, isCluster, isCollection, isCompoundAttribute, isConcreteObject, isConnection, isConstraint, isConstraintMember, isConsumption, isDataObject, isElement, isElementRelation, isEntityRelationshipType, isEntityType, isEnvironment, isFlagConstant, isGroup, isMetaObject, isMetaProperty, isNote, isNoteRelation, isProcessingUnit, isProcessingUnitCardinality, isProduct, isProductSet, isProject, isRelationshipType, isResource, isResourceCardinality, isResourceSubType, isRole, isSchema, isSimpleAttribute, isState, isSubType, isText, isTextLine, isUserObject, isUserView, removeNoteRelation, removeState, removeUserObject, setFlag, setFlagConstant, setMetaPropertyBooleanListValue, setMetaPropertyBooleanValue, setMetaPropertyCharListValue, setMetaPropertyCharValue, setMetaPropertyDoubleListValue, setMetaPropertyDoubleValue, setMetaPropertyIntListValue, setMetaPropertyIntValue, setMetaPropertyListValue, setMetaPropertyStringListValue, setMetaPropertyStringValue, setMetaPropertyValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBMConcreteObject

public DBMConcreteObject(int id,
                         long sysid)
Creates a new instance of the DBMConcreteObject class representing the concrete object identified by id and sysid in the DB-MAIN repository.

Parameters:
id - the object identifier of a concrete object.
sysid - the system identifier of a concrete object.

DBMConcreteObject

public DBMConcreteObject(int id)
Creates a new instance of the DBMConcreteObject class representing the concrete object identified by id and the current project in DB-MAIN.

Parameters:
id - the object identifier of a concrete object.
Method Detail

getName

public java.lang.String getName()
Returns the name of the current concrete object.

Returns:
the String value of the field name.

setName

public void setName(java.lang.String val)
Updates the value of name in the current concrete object in the DB-MAIN repository.

Parameters:
val - the new String value of the field Name.

getShortName

public java.lang.String getShortName()
Returns the short name of the current concrete object.

Returns:
the String value of the field shortName.

setShortName

public void setShortName(java.lang.String val)
Updates the value of short name in the current concrete object in the DB-MAIN repository.

Parameters:
val - the new String value of the field ShortName.

getSemanticDescription

public java.lang.String getSemanticDescription()
Returns the semantic description of the current concrete object.

Returns:
the String value of the field semanticDescription.

setSemanticDescription

public void setSemanticDescription(java.lang.String val)
Updates the value of semantic description in the current concrete object in the DB-MAIN repository.

Parameters:
val - the new String value of the field SemanticDescription.

getTechnicalDescription

public java.lang.String getTechnicalDescription()
Returns the technical description of the current concrete object.

Returns:
the String value of the field technicalDescription.

setTechnicalDescription

public void setTechnicalDescription(java.lang.String val)
Updates the value of technical description in the current concrete object in the DB-MAIN repository.

Parameters:
val - the new String value of the field TechnicalDescription.

deleteConcreteObject

public void deleteConcreteObject()
Deletes the concrete object of the DB-MAIN repository represented by the current DBMConcreteObject instance.


getQualifiedName

public java.lang.String getQualifiedName(java.lang.String sep)
Returns the qualified name for the current object. A qualified name is the object name prefixed by its owner names to schema excluded (each name separated by '.').

Parameters:
sep - the string separating names.
Returns:
a string containing the qualified name of the specified object.

toString

public java.lang.String toString()
Returns the string representation of a concrete object. For class DBMConcreteObject, the string consists of the name.

Overrides:
toString in class DBMGenericObject
Returns:
A string representation of the concrete object.