|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.clients.versioncontrol.soapextensions.PropertyValue
public class PropertyValue
Holds additional information about a version control item or changeset. Property value names should be compared case-insensitive.
Field Summary |
---|
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
---|
webServiceObject |
Constructor Summary | |
---|---|
PropertyValue(ms.tfs.versioncontrol.clientservices._03._PropertyValue webServiceObject)
Creates a PropertyValue from a web service object. |
|
PropertyValue(java.lang.String name,
java.lang.Object value)
Creates a PropertyValue with the given name and Object
value. |
Method Summary | |
---|---|
static int |
comparePropertyNames(java.lang.String name1,
java.lang.String name2)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getPropertyName()
|
java.lang.Class<?> |
getPropertyType()
|
java.lang.Object |
getPropertyValue()
|
ms.tfs.versioncontrol.clientservices._03._PropertyValue |
getWebServiceObject()
Gets the web service object this class wraps. |
int |
hashCode()
|
boolean |
isDirty()
|
boolean |
matchesName(java.lang.String propertyName)
Tests whether this PropertyValue 's name matches the specified
name. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyValue(java.lang.String name, java.lang.Object value)
PropertyValue
with the given name and Object
value. The value type must be serializable via the informal XSD/XSI
serializer used by
XMLStreamWriterHelper.writeElement(javax.xml.stream.XMLStreamWriter, String, Object)
.
name
- the property name (must not be null
or empty)value
- the value object (may be null
)public PropertyValue(ms.tfs.versioncontrol.clientservices._03._PropertyValue webServiceObject)
PropertyValue
from a web service object.
webServiceObject
- the web service object (must not be null
)Method Detail |
---|
public boolean matchesName(java.lang.String propertyName)
PropertyValue
's name matches the specified
name. Names are compared case-insensitive.
propertyName
- the name to match (may be null
)
true
if the names match, false
if the
names do not match (possibly because the specified name was
null
)public static int comparePropertyNames(java.lang.String name1, java.lang.String name2)
public boolean equals(java.lang.Object o)
equals
in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
public int hashCode()
hashCode
in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
public ms.tfs.versioncontrol.clientservices._03._PropertyValue getWebServiceObject()
public java.lang.String getPropertyName()
public java.lang.Object getPropertyValue()
public java.lang.Class<?> getPropertyType()
public boolean isDirty()
public java.lang.String toString()
toString
in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |