com.zeroturnaround.liverebel.util.managedconf.api
Class PropertyVO

java.lang.Object
  extended by com.zeroturnaround.liverebel.util.managedconf.api.PropertyVO

public class PropertyVO
extends Object

Value object holding property name, value and configuration scope where it is defined (in case of server and server group source is used to refer to server name or group id)

Author:
Ats Uiboupin

Field Summary
protected  ConfScope confScope
          configuration scope where this value is defined
protected  String name
           
protected  String source
          for Server: Server.nanme
for ServerGroup: id of the server group as String or null for ungrouped "virtual servers group"
for global: null
protected  String value
           
 
Constructor Summary
PropertyVO(String name, String value, ConfScope confScope, String source)
           
 
Method Summary
 boolean equals(Object obj)
           
 ConfScope getConfScope()
           
 String getName()
           
 String getSourceName()
           
 String getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final String name

value

protected final String value

confScope

protected final ConfScope confScope
configuration scope where this value is defined


source

protected final String source
for Server: Server.nanme
for ServerGroup: id of the server group as String or null for ungrouped "virtual servers group"
for global: null

Constructor Detail

PropertyVO

public PropertyVO(String name,
                  String value,
                  ConfScope confScope,
                  String source)
Method Detail

getName

public String getName()

getValue

public String getValue()

getConfScope

public ConfScope getConfScope()

getSourceName

public String getSourceName()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013. All Rights Reserved.