com.jamasoftware.contour.ws.v2.domain
Class WsPropertyList

java.lang.Object
  extended by com.jamasoftware.contour.ws.v2.domain.WsPropertyList

public class WsPropertyList
extends java.lang.Object

This is a list of WsPropertyEntry values.

Author:
Dylan
See Also:
WsPropertyEntry

Constructor Summary
WsPropertyList()
          Creates an empty WsPropertyList object.
WsPropertyList(java.lang.Integer scope, java.lang.Integer refId, java.util.Map<java.lang.String,WsPropertyEntry> properties)
          Creates a new WsPropertyList object from the given scope, ref id and property map.
 
Method Summary
 java.util.Map<java.lang.String,WsPropertyEntry> getProperties()
          Gets the property list's map of property entries.
 java.lang.Integer getRefId()
          Gets the property list's reference id.
 java.lang.Integer getScope()
          Gets the property list's scope.
 void setProperties(java.util.Map<java.lang.String,WsPropertyEntry> properties)
          Sets the property list's map of property entries.
 void setRefId(java.lang.Integer refId)
          Sets the property list's reference id.
 void setScope(java.lang.Integer scope)
          Set's the property list's scope.
 java.lang.String toString()
          Gets a string representation of this property list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsPropertyList

public WsPropertyList()
Creates an empty WsPropertyList object.


WsPropertyList

public WsPropertyList(java.lang.Integer scope,
                      java.lang.Integer refId,
                      java.util.Map<java.lang.String,WsPropertyEntry> properties)
Creates a new WsPropertyList object from the given scope, ref id and property map.

Parameters:
scope - scope of the property list
refId - reference id
properties - list of property entries
Method Detail

getScope

public java.lang.Integer getScope()
Gets the property list's scope.

Returns:
scope
See Also:
WsScope

setScope

public void setScope(java.lang.Integer scope)
Set's the property list's scope.

Parameters:
scope - the scope of the property list
See Also:
WsScope

getRefId

public java.lang.Integer getRefId()
Gets the property list's reference id.

Returns:
reference id

setRefId

public void setRefId(java.lang.Integer refId)
Sets the property list's reference id.

Parameters:
refId - reference id

getProperties

public java.util.Map<java.lang.String,WsPropertyEntry> getProperties()
Gets the property list's map of property entries.

Returns:
Map<String, list of property entries

setProperties

public void setProperties(java.util.Map<java.lang.String,WsPropertyEntry> properties)
Sets the property list's map of property entries.

Parameters:
properties - list of property entries

toString

public java.lang.String toString()
Gets a string representation of this property list.

Overrides:
toString in class java.lang.Object
Returns:
String


Copyright © 2010 Jama Software, Inc. All Rights Reserved.