Package de.xima.fc.form.common.abstracts
Class AMetaDataWrapper
- java.lang.Object
 - 
- de.xima.fc.form.common.abstracts.AMetaDataWrapper
 
 
- 
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 DefaultFD2MetaDataWrapper
public abstract class AMetaDataWrapper extends Object implements Serializable
Diese Klasse bildet den Rahmen für die Meta-Daten die einem Formular angefügt werden können. Es beinhaltet eine Liste vonJSONObjectdie den Inhalt des umschließendenJSONObjects darstellen. Neben denJSONObjectwerden noch weiter Meta-Informationen, wie die Serverzeit dem umschließendenJSONObjectangefügt.- Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_SCRIPT_NAMEThe default name used for the JavaScript global variable with the metadata such as the name and ID of the form and client or the current URLs. 
- 
Constructor Summary
Constructors Constructor Description AMetaDataWrapper()Default constructor, to create the script block of metadata with the default nameDEFAULT_SCRIPT_NAMEAMetaDataWrapper(String scriptName)Konstruktor um einen individuellen Namen für den Skriptblock zu definieren, über welchen das Objekt im JavaScript referenziert werden kann. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract Map<String,List<String[]>>getDataMap()abstract StringgetInnerJSONString()Deprecated.usegetJSON()abstract com.alibaba.fastjson.JSONObjectgetJSON()com.hp.gagawa.java.elements.ScriptgetScriptMetaData()Liefert das HTML-Element, welches ins Form eingehängt wird 
 - 
 
- 
- 
Field Detail
- 
DEFAULT_SCRIPT_NAME
public static final String DEFAULT_SCRIPT_NAME
The default name used for the JavaScript global variable with the metadata such as the name and ID of the form and client or the current URLs.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
AMetaDataWrapper
public AMetaDataWrapper()
Default constructor, to create the script block of metadata with the default nameDEFAULT_SCRIPT_NAME 
- 
AMetaDataWrapper
public AMetaDataWrapper(String scriptName)
Konstruktor um einen individuellen Namen für den Skriptblock zu definieren, über welchen das Objekt im JavaScript referenziert werden kann. Ist der scriptNamenull, so wird auf denDEFAULT_SCRIPT_NAMEzurückgegriffen.- Parameters:
 scriptName- Name unter dem der Knoten referenzierbar ist.
 
 - 
 
- 
Method Detail
- 
getScriptMetaData
public com.hp.gagawa.java.elements.Script getScriptMetaData()
Liefert das HTML-Element, welches ins Form eingehängt wird- Returns:
 Nodeder eingefügt wird.- Throws:
 com.alibaba.fastjson.JSONException- Fehler beim Hinzufügen zuJSONObject
 
- 
getInnerJSONString
@Deprecated public abstract String getInnerJSONString()
Deprecated.usegetJSON() 
- 
getJSON
public abstract com.alibaba.fastjson.JSONObject getJSON()
 
 - 
 
 -