|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.buildforge.services.common.dbo.DBObject
com.buildforge.services.common.dbo.TagVarDBO
public class TagVarDBO
Database information representing the state of a project's tag variable.
Field Summary | |
---|---|
static java.lang.Class<TagVarDBO> |
CLASS
|
static java.lang.String |
ILLEGAL_TAG_NAME_CHARS
A string containing the characters that are not permitted in a tag variable name. |
static java.lang.String |
TYPE_KEY
|
Constructor Summary | |
---|---|
TagVarDBO()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
TagVarDBO |
fromArray(java.lang.Object[] data)
Deserialize the database object's settings from a request array. |
boolean |
getAutoInc()
|
int |
getLiveProjectId()
|
java.lang.String |
getName()
|
int |
getPadding()
|
int |
getProjectId()
|
int |
getTagId()
|
java.lang.String |
getTypeKey()
Retrieve the key that should be used to look up the display name for a data type. |
int |
getValue()
|
int |
hashCode()
|
boolean |
isLive()
Checks whether or not the object is live. |
void |
setAutoInc(boolean autoInc)
|
void |
setLiveProjectId(int liveProjectId)
|
void |
setName(java.lang.String name)
|
void |
setPadding(int padding)
|
void |
setProjectId(int projectId)
|
void |
setTagId(int tagId)
Deprecated. |
void |
setValue(int value)
|
java.lang.Object[] |
toArray()
Serializes this database object as an array of objects. |
java.lang.String |
toString()
|
Methods inherited from class com.buildforge.services.common.dbo.DBObject |
---|
badId, badName, checkDead, checkLive, collision, collision |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TYPE_KEY
public static final java.lang.Class<TagVarDBO> CLASS
public static final java.lang.String ILLEGAL_TAG_NAME_CHARS
Constructor Detail |
---|
public TagVarDBO()
Method Detail |
---|
public java.lang.String getTypeKey()
DBObject
getTypeKey
in class DBObject
public boolean isLive()
DBObject
isLive
in class DBObject
public boolean getAutoInc()
public java.lang.String getName()
public int getPadding()
public int getProjectId()
public int getTagId()
public int getValue()
public int getLiveProjectId()
public void setAutoInc(boolean autoInc)
public void setName(java.lang.String name)
public void setPadding(int padding)
public void setProjectId(int projectId)
@Deprecated public void setTagId(int tagId)
public void setValue(int value)
public void setLiveProjectId(int liveProjectId)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public TagVarDBO fromArray(java.lang.Object[] data) throws APIException
DBObject
DBObject.toArray()
.
fromArray
in class DBObject
data
- the object list that renders this object
APIException
- if there is something wrong with the
serialized data that interferes with the reconstruction of
the object. The most obvious reason for this would be if
the serialized array contains the wrong number of fields
or otherwise does not match the serialized form for this
type of database object.public java.lang.Object[] toArray()
DBObject
Protocol
, all supported
protocols transfer database objects in this form.
toArray
in class DBObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |