public class WsPropertyEntry extends Object
Modifier and Type | Field and Description |
---|---|
static Integer |
PROPERTY_TYPE_BOOLEAN
This declares that the value of the property entry is a boolean value and
should be parsed accordingly.
|
static Integer |
PROPERTY_TYPE_STRING
This declares that the value of the property entry is a string value.
|
Constructor and Description |
---|
WsPropertyEntry()
Creates an empty WsPropertyEntry object.
|
WsPropertyEntry(Integer scope,
Integer refId,
String propertyName,
String propertyValue,
Integer propertyType)
Creates a new WsPropertyEntry object from the given scope, refId, name,
value and type.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getId()
Gets this property entry's id.
|
String |
getPropertyName()
Gets the full name of the property entry (i.e.
|
Integer |
getPropertyType()
Gets the type of the property entry.
|
String |
getPropertyValue()
Gets the value for the property entry.
|
Integer |
getRefId()
Gets the reference id of this property entry.
|
Integer |
getScope()
Gets the scope of this property entry.
|
void |
setId(Integer id)
Sets this property entry's id.
|
void |
setPropertyName(String propertyName)
Sets the full name of the property entry.
|
void |
setPropertyType(Integer propertyType)
Sets the type of the property entry.
|
void |
setPropertyValue(String propertyValue)
Sets the value for the property entry.
|
void |
setRefId(Integer refId)
Sets the reference id of this property entry.
|
void |
setScope(Integer scope)
Sets the scope of this property entry.
|
String |
toString()
Gets a string representation of this property entry.
|
public static final Integer PROPERTY_TYPE_STRING
public static final Integer PROPERTY_TYPE_BOOLEAN
public WsPropertyEntry()
public WsPropertyEntry(Integer scope, Integer refId, String propertyName, String propertyValue, Integer propertyType)
scope
- scope of the property entryrefId
- reference idpropertyName
- name of the property entrypropertyValue
- value of the property entrypropertyType
- type
of the
property entrypublic Integer getId()
public void setId(Integer id)
id
- property entry idpublic Integer getScope()
WsScope
public void setScope(Integer scope)
scope
- property entry scopeWsScope
public Integer getRefId()
public void setRefId(Integer refId)
refId
- property entry reference idpublic String getPropertyName()
public void setPropertyName(String propertyName)
propertyName
- property entry namepublic String getPropertyValue()
public void setPropertyValue(String propertyValue)
propertyValue
- a string of the property entry valuepublic Integer getPropertyType()
public void setPropertyType(Integer propertyType)
propertyType
- the type of the property entryCopyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.