Nuxeo Enterprise Platform 5.4

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

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

public class DocumentProperty
extends java.lang.Object
implements java.io.Serializable

Web service document property wrapper.

Author:
Julien Anguenot
See Also:
Serialized Form

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

Constructor Detail

DocumentProperty

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


DocumentProperty

public DocumentProperty(java.lang.String name,
                        java.lang.String value)
Method Detail

getName

public java.lang.String getName()
Returns the field name.

Returns:
the field name

getValue

public java.lang.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(java.lang.String name)
Parameters:
name - the name to set.

setValue

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.