CSForm
object.
get/set
methods within CSForm
provide access to this content data and so there should
not typically be any need to explicitly use the get/set
methods supplied here.
public class CSFormContent extends CSItemContent
CSForm
,
Serialized FormConstructor and Description |
---|
CSFormContent()
Deprecated.
Creates an empty
CSFormContent object. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Deprecated.
Creates a duplicate of this
CSFormContent object. |
CSItemContent |
createInstance()
Deprecated.
Creates a new
CSFormContent object and returns it as a CSItemContent , its superclass. |
boolean |
equals(java.lang.Object obj)
Deprecated.
Determines whether the data contained in this
CSFormContent object is the same as that contained
within the one supplied. |
int |
getFormID()
Deprecated.
Gets the unique ID of the form.
|
java.lang.String |
getFormJavaScript()
Deprecated.
Gets the JavaScript to be used by the form as a whole.
|
java.lang.String |
getFormName()
Deprecated.
Gets the name of the form.
|
void |
setFormID(int nFormID)
Deprecated.
Sets the ID of the form.
|
void |
setFormJavaScript(java.lang.String strJavaScript)
Deprecated.
Sets the JavaScript to be used by the form as a whole.
|
void |
setFormName(java.lang.String strFormName)
Deprecated.
Sets the name of the form.
|
java.lang.String |
toString()
Deprecated.
Outputs the contents of this
CSFormContent object to a String object in a
user-friendly format. |
getID, setID, unset
public CSFormContent()
CSFormContent
object.public void setFormID(int nFormID)
nFormID
- the form's unique ID.public int getFormID()
public void setFormName(java.lang.String strFormName)
strFormName
- the form's name.public java.lang.String getFormName()
public void setFormJavaScript(java.lang.String strJavaScript)
strJavaScript
- the form's JavaScript.public java.lang.String getFormJavaScript()
public CSItemContent createInstance()
CSFormContent
object and returns it as a CSItemContent
, its superclass.
This is used by the clone
method in CSItemContent
.
CSFormContent
object.public boolean equals(java.lang.Object obj)
CSFormContent
object is the same as that contained
within the one supplied.
equals
in class CSItemContent
obj
- The CSFormContent
object to be tested for equalitytrue
if the data matches, false
otherwise.public java.lang.Object clone() throws java.lang.CloneNotSupportedException, java.lang.OutOfMemoryError
CSFormContent
object.
clone
in class CSItemContent
CSFormContent
objectjava.lang.CloneNotSupportedException
- Thrown if cloning is not supported/allowedjava.lang.OutOfMemoryError
- Thrown if there are any problems allocating memorypublic java.lang.String toString()
CSFormContent
object to a String
object in a
user-friendly format.
toString
in class CSItemContent
String
containing the user-friendly output.Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.