Class FieldReference
- java.lang.Object
-
- rocks.xmpp.extensions.data.layout.model.FieldReference
-
public final class FieldReference extends Object
A field reference is used to reference to a field in a data form. Thevar attribute
must be equal to the field'svar attribute
.This class is immutable.
-
-
Constructor Summary
Constructors Constructor Description FieldReference(String name)
Creates a field reference.
-
-
-
Constructor Detail
-
FieldReference
public FieldReference(String name)
Creates a field reference.- Parameters:
name
- The var attribute, which must match to a field in the data form.
-
-
Method Detail
-
getName
public final String getName()
Gets the var attribute. This must match to a field in the data form.- Returns:
- The var attribute.
-
-