IP*Works! V9

ipworks
Class DAVProperty

java.lang.Object
  extended by ipworks.DAVProperty

public class DAVProperty
extends java.lang.Object

A property that is either sent to or received from the server.

This type defines a property that is used when the bean sends a property find or patch request to the server. When FindProperties is used, this property will be populated with the properties returned from the server. When a call is made to PatchProperties , the bean will use the information provided by this type to tell the server what to do with the property being specified.

Attr: This field shows the attribute string for the specified DAV property.

Name: This field shows the name of the DAV property sent to or received from the server.

NamespaceURI: This field shows the DAV property namespace. The default URI is "DAV:". This value may be changed if a desired namespace is different from the default namespace.

Operation: This field shows the operation to perform on a property when calling PatchProperties .

This is used when the bean sends a property patch request to the server. When a call is made to PatchProperties , the bean will use the Operation to tell the server what to do under the following scheme:

opNone (0)
No operation will be performed on the property.
opSet (1)
The value of Name will be set to Value .
opDelete (2)
The property defined by Name will be removed from its resource.

Status: This field shows the status of the retrieved DAV property. If the property is successfully retrieved, Status contains the string "OK". Otherwise, it contains the HTTP status and description provided by the server.

After a call to FindProperties , the Properties collection will contain the name, value and status of DAV property returned by the server. The contents of the collection changes for every matching resource ( ResourceProperties event). After the call completes, the collection will contain the values of the last matching resource.

Value: This field shows the value of the DAV property.

See Also:
Atom, Atom.DAVProperty

Field Summary
static int opDelete
           
static int opNone
           
static int opSet
           
 
Constructor Summary
DAVProperty()
           
DAVProperty(java.lang.String name)
           
 
Method Summary
 java.lang.String getAttr()
           
 java.lang.String getName()
           
 java.lang.String getNamespaceURI()
           
 int getOperation()
           
 java.lang.String getStatus()
           
 java.lang.String getValue()
           
 void setAttr(java.lang.String value)
           
 void setName(java.lang.String value)
           
 void setNamespaceURI(java.lang.String value)
           
 void setOperation(int 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
 

Field Detail

opNone

public static final int opNone
See Also:
Constant Field Values

opSet

public static final int opSet
See Also:
Constant Field Values

opDelete

public static final int opDelete
See Also:
Constant Field Values
Constructor Detail

DAVProperty

public DAVProperty()

DAVProperty

public DAVProperty(java.lang.String name)
Method Detail

getAttr

public java.lang.String getAttr()

setAttr

public void setAttr(java.lang.String value)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String value)

getNamespaceURI

public java.lang.String getNamespaceURI()

setNamespaceURI

public void setNamespaceURI(java.lang.String value)

getOperation

public int getOperation()

setOperation

public void setOperation(int value)

getStatus

public java.lang.String getStatus()

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

IP*Works! V9

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