Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.api.ws
Class DocumentProperty

java.lang.Object
  extended by org.nuxeo.ecm.platform.api.ws.DocumentProperty
All Implemented Interfaces:
Serializable

public class DocumentProperty
extends Object
implements Serializable

Web service document property wrapper.

Author:
Julien Anguenot
See Also:
Serialized Form

Constructor Summary
DocumentProperty()
          Empty ctor needed by tools like jaxb.
DocumentProperty(String name, String value)
           
 
Method Summary
 String getName()
          Returns the field name.
 String getValue()
          Returns the field value as a string.
 void setName(String name)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentProperty

public DocumentProperty()
Empty ctor needed by tools like jaxb.


DocumentProperty

public DocumentProperty(String name,
                        String value)
Method Detail

getName

public String getName()
Returns the field name.

Returns:
the field name

getValue

public String getValue()
Returns the field value as a string.

Here, we will always return string for the moment. Request from the Intuition team.

Returns:
the field value as a string

setName

public void setName(String name)
Parameters:
name - the name to set.

setValue

public void setValue(String value)
Parameters:
value - the value to set.

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.