com.xpn.xwiki.gwt.api.client
Class XObject
java.lang.Object
com.xpn.xwiki.gwt.api.client.XObject
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.IsSerializable
public class XObject
- extends Object
- implements com.google.gwt.user.client.rpc.IsSerializable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XObject
public XObject()
getPropertyNames
public List getPropertyNames()
getProperties
public Map getProperties()
getProperty
public Object getProperty(String name)
get
public Object get(String name)
setProperty
public void setProperty(String name,
Object prop)
set
public void set(String name,
Object prop)
getViewProperty
public String getViewProperty(String name)
- Parameters:
name - the name of the field
- Returns:
- html code to view the given field
setViewProperty
public void setViewProperty(String name,
String prop)
getEditProperty
public String getEditProperty(String name)
- Parameters:
name - the name of the field
- Returns:
- html code to edit the given field
setEditProperty
public void setEditProperty(String name,
String prop)
getEditPropertyFieldName
public String getEditPropertyFieldName(String name)
setEditPropertyFieldName
public void setEditPropertyFieldName(String name,
String fieldName)
getName
public String getName()
setName
public void setName(String name)
getClassName
public String getClassName()
setClassName
public void setClassName(String className)
getNumber
public int getNumber()
setNumber
public void setNumber(int nb)
Copyright © 2004-2009 XWiki. All Rights Reserved.