|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.buildforge.services.client.dbo.EnvironmentEntry
public final class EnvironmentEntry
A single name/value pair that belongs to an Environment parent
Field Summary | |
---|---|
static java.lang.Class<EnvironmentEntry> |
CLASS
|
Constructor Summary | |
---|---|
EnvironmentEntry(APIClientConnection conn,
Environment newParent)
Define a new environment entry object. |
Method Summary | |
---|---|
EnvironmentEntry |
clone()
|
void |
delete()
Removes this EnvironmentEntry from its parent Environment and from the database, if the parent Environment already exists in the database. |
EnvironmentEntryDBO.Action |
getAction()
Returns the Action associated with this Environment Entry. |
int |
getEntryId()
Returns this Entry's ordinal |
int |
getEnvGroupId()
Returns this Entry's Environment Group Identifier |
EnvironmentEntryDBO.Mode |
getMode()
Returns the Mode associated with this Environment Entry. |
java.lang.String |
getParameterName()
Returns the parameter name of this Environment Entry |
java.lang.String |
getParameterValue()
Returns the parameter value of this Environment Entry. |
Environment |
getParent()
Returns a reference to this Entry's parent Environment |
void |
setAction(EnvironmentEntryDBO.Action action)
Sets the associated Action for the Environment Entry. |
void |
setMode(EnvironmentEntryDBO.Mode mode)
Sets the associated Mode for the Environment Entry. |
void |
setParameterName(java.lang.String parameterName)
Sets the parameter name for this EnvironmentEntry. |
void |
setParameterValue(java.lang.String parameterValue)
Sets the parameter value of this Environment Entry. |
java.lang.String |
toString()
|
EnvironmentEntry |
update()
Commits any changes to this EnvironmentEntry to the database |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class<EnvironmentEntry> CLASS
Constructor Detail |
---|
public EnvironmentEntry(APIClientConnection conn, Environment newParent)
create()
method or until this EnvironmentEntry has been added to the already created
parent.
conn
- the services layer connection that the collector property
should use when submitting requestsparent
- the collector to which this property belongsMethod Detail |
---|
public EnvironmentEntry update() throws java.io.IOException, ServiceException
java.io.IOException
ServiceException
- If this EnvironmentEntry does not already exist in the databasepublic void delete() throws java.io.IOException, ServiceException
java.io.IOException
ServiceException
public EnvironmentEntryDBO.Action getAction()
EnvironmentEntryDBO.Action
for details
public int getEntryId()
public int getEnvGroupId()
public EnvironmentEntryDBO.Mode getMode()
EnvironmentEntryDBO.Mode
for details
public java.lang.String getParameterName()
public java.lang.String getParameterValue()
public Environment getParent()
public void setAction(EnvironmentEntryDBO.Action action)
EnvironmentEntryDBO.Action
for details
action
- public void setMode(EnvironmentEntryDBO.Mode mode)
EnvironmentEntryDBO.Mode
for details
mode
- public void setParameterName(java.lang.String parameterName)
parameterName
- public void setParameterValue(java.lang.String parameterValue)
parameterValue
- public java.lang.String toString()
toString
in class java.lang.Object
public EnvironmentEntry clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |