com.dbmain.jidbm
Class DBMTextLine

java.lang.Object
  extended by com.dbmain.jidbm.DBMGenericObject
      extended by com.dbmain.jidbm.DBMTextLine

public class DBMTextLine
extends DBMGenericObject

The DBMTextLine class represents text line 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
DBMTextLine(int id)
          Creates a new instance of the DBMTextLine class representing the text line identified by id and the current project in DB-MAIN.
DBMTextLine(int id, long sysid)
          Creates a new instance of the DBMTextLine class representing the text line identified by id and sysid in the DB-MAIN repository.
 
Method Summary
 void deleteTextLine()
          Deletes the text line of the DB-MAIN repository represented by the current DBMTextLine instance.
 java.lang.String getDescription()
          Returns the description of the current text line.
 int getNumber()
          Returns the number of the current text line.
 DBMText getText()
          Returns the text of the current text line.
 void removeText()
          Removes the text attached to the current text line in the DB-MAIN repository.
 void setDescription(java.lang.String val)
          Updates the value of description in the current text line in the DB-MAIN repository.
 void setNumber(int val)
          Updates the value of number in the current text line in the DB-MAIN repository.
 
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, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBMTextLine

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

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

DBMTextLine

public DBMTextLine(int id)
Creates a new instance of the DBMTextLine class representing the text line identified by id and the current project in DB-MAIN.

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

getNumber

public int getNumber()
Returns the number of the current text line.

Returns:
the int value of the field number.

setNumber

public void setNumber(int val)
Updates the value of number in the current text line in the DB-MAIN repository.

Parameters:
val - the new int value of the field Number.

getDescription

public java.lang.String getDescription()
Returns the description of the current text line.

Returns:
the String value of the field description.

setDescription

public void setDescription(java.lang.String val)
Updates the value of description in the current text line in the DB-MAIN repository.

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

deleteTextLine

public void deleteTextLine()
Deletes the text line of the DB-MAIN repository represented by the current DBMTextLine instance.


getText

public DBMText getText()
Returns the text of the current text line.

Returns:
the DBMText instance representing the text.

removeText

public void removeText()
Removes the text attached to the current text line in the DB-MAIN repository.