public class CSSinglePageFormContent extends CSItemContent
CSSinglePageForm
object.
get/set
methods within CSSinglePageForm
provide access to this content data and so there should
not typically be any need to explicitly use the get/set
methods supplied here.
CSSinglePageForm
,
Serialized FormConstructor and Description |
---|
CSSinglePageFormContent()
Creates an empty
CSSinglePageFormContent object. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a duplicate of this
CSSinglePageFormContent object. |
CSItemContent |
createInstance()
Creates a new
CSSinglePageFormContent object and returns it as a CSItemContent , its superclass. |
boolean |
equals(java.lang.Object obj)
Determines whether the data contained in this
CSSinglePageFormContent object is the same as that contained
within the one supplied. |
java.util.Date |
getDateLastPublished()
Gets the
Date upon which the object was last updated. |
java.lang.String |
getFormDesc()
Gets the description of the form.
|
int |
getFormID()
Gets the unique ID of the form.
|
java.lang.String |
getFormName()
Gets the name of the form.
|
java.lang.String |
getTypeName()
Gets the name of the type supported by the form.
|
void |
setDateLastPublished(java.util.Date dDateLastPublished)
Sets the
Date upon which the object was last updated. |
void |
setFormDesc(java.lang.String strFormDesc)
Sets the description of the form.
|
void |
setFormID(int nFormID)
Sets the ID of the form.
|
void |
setFormName(java.lang.String strFormName)
Sets the name of the form.
|
void |
setTypeName(java.lang.String strTypeName)
Sets the name of the type supported by the form.
|
java.lang.String |
toString()
Outputs the contents of this
CSSinglePageFormContent object to a String object in a
user-friendly format. |
getID, setID, unset
public CSSinglePageFormContent()
CSSinglePageFormContent
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 setTypeName(java.lang.String strTypeName)
strTypeName
- the type name.public java.lang.String getTypeName()
public void setFormDesc(java.lang.String strFormDesc)
strFormDesc
- the form's description.public java.lang.String getFormDesc()
public void setDateLastPublished(java.util.Date dDateLastPublished)
Date
upon which the object was last updated. This
corresponds to when the form was last published.
dDateLastPublished
- The date when the object was last updated.public java.util.Date getDateLastPublished()
Date
upon which the object was last updated. This
corresponds to when the form was last published.
public CSItemContent createInstance()
CSSinglePageFormContent
object and returns it as a CSItemContent
, its superclass.
This is used by the clone
method in CSItemContent
.
CSSinglePageFormContent
object.public boolean equals(java.lang.Object obj)
CSSinglePageFormContent
object is the same as that contained
within the one supplied.
equals
in class CSItemContent
obj
- The CSSinglePageFormContent
object to be tested for equalitytrue
if the data matches, false
otherwise.public java.lang.Object clone() throws java.lang.CloneNotSupportedException, java.lang.OutOfMemoryError
CSSinglePageFormContent
object.
clone
in class CSItemContent
CSSinglePageFormContent
objectjava.lang.CloneNotSupportedException
- Thrown if cloning is not supported/allowedjava.lang.OutOfMemoryError
- Thrown if there are any problems allocating memorypublic java.lang.String toString()
CSSinglePageFormContent
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.