IP*Works! V9

ipworks
Class ODataEntryProperty

java.lang.Object
  extended by ipworks.ODataEntryProperty

public class ODataEntryProperty
extends java.lang.Object

An object representing a single OData entry property.

An object representing a single OData entry property.

Attributes: A space-separated list of attributes (name-value pairs) contained within an OData entry element. For example: name1="value1" name2="value2"

IsNull: Indicates whether a property value of a primitive type is null.

Name: The Name of the OData entry element.

Note: For properties derived from a complex type, the name of the property and it's sub-property will be separated by '/'. For example, let's say you have a property called "MailingAddress" that is derived from a complex type called "Address". The "Address" complex type contains a property called "City". This particular property will be returned as "MailingAddress/City".

Setting this property to empty string prior to calling UpdateEntry will result in the item not being sent in the update request. Thus removing it from the OData entry.

Type: The type of the OData schema property.

Value: The Value of the OData entry element.

XPath: The XPath of the OData entry property. This value can be used to set XPath or can be used within UpdateProperty to update a specific property.

See Also:
Atom, Atom.ODataEntryProperty

Constructor Summary
ODataEntryProperty()
           
ODataEntryProperty(java.lang.String name, java.lang.String value)
           
 
Method Summary
 java.lang.String getAttributes()
           
 boolean getIsNull()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 java.lang.String getValue()
           
 java.lang.String getXPath()
           
 void setAttributes(java.lang.String value)
           
 void setIsNull(boolean value)
           
 void setName(java.lang.String value)
           
 void setType(java.lang.String value)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODataEntryProperty

public ODataEntryProperty()

ODataEntryProperty

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

getAttributes

public java.lang.String getAttributes()

setAttributes

public void setAttributes(java.lang.String value)

getIsNull

public boolean getIsNull()

setIsNull

public void setIsNull(boolean value)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String value)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String value)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

getXPath

public java.lang.String getXPath()

IP*Works! V9

Copyright (c) 2013 /n software inc. - All rights reserved.