Sequenceablepublic class FormBaseInfo extends Object implements Sequenceable
Sequenceable.Producer<T>| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static Sequenceable.Producer<FormBaseInfo> |
PRODUCER |
Creates a
FormBaseInfo object from a Parcel object. |
| 构造器 | 说明 |
|---|---|
FormBaseInfo() |
Default constructor used to create a
FormBaseInfo instance. |
FormBaseInfo(FormBaseInfo source) |
A constructor used to create a
FormBaseInfo instance by copying attributes of an existing one. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
String |
getAbilityName() |
Obtains the class name of the ability to which this form belongs.
|
String |
getBundleName() |
Obtains the bundle name of the application to which this form belongs.
|
String |
getFormName() |
Obtains the name of this form.
|
String |
getModuleName() |
Obtains the name of the application module to which this form belongs.
|
boolean |
marshalling(Parcel out) |
Marshals this
FormBaseInfo object into a Parcel object. |
void |
setAbilityName(String name) |
Sets the ability name of this form.
|
void |
setBundleName(String name) |
Sets the bundle name of this form.
|
void |
setFormName(String name) |
Sets the form name of this form.
|
void |
setModuleName(String name) |
Sets the module name of this form.
|
boolean |
unmarshalling(Parcel in) |
Unmarshals this
FormBaseInfo object from a Parcel object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasFileDescriptorpublic static final Sequenceable.Producer<FormBaseInfo> PRODUCER
FormBaseInfo object from a Parcel object. This constant is used together
with marshalling(ohos.utils.Parcel) and is the encapsulation of the unmarshalling(ohos.utils.Parcel) method.public FormBaseInfo()
FormBaseInfo instance.public FormBaseInfo(FormBaseInfo source)
FormBaseInfo instance by copying attributes of an existing one.source - Indicates the existing FormBaseInfo instance.public String getBundleName()
public String getModuleName()
public String getAbilityName()
public String getFormName()
public void setBundleName(String name)
name - Indidates name of bundle.public void setModuleName(String name)
name - Indidates name of module.public void setAbilityName(String name)
name - Indidates name of ability.public void setFormName(String name)
name - Indidates name of form.public boolean marshalling(Parcel out)
FormBaseInfo object into a Parcel object.marshalling 在接口中 Sequenceableout - Indicates the Parcel object for marshalling.true if the marshalling is successful; returns false otherwise.public boolean unmarshalling(Parcel in)
FormBaseInfo object from a Parcel object.unmarshalling 在接口中 Sequenceablein - Indicates the Parcel object for unmarshalling.true if the unmarshalling is successful; returns false otherwise.