public class ServerDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
private String |
dataType
Data type
|
private String |
groupName
Group name
|
private boolean |
isActive
Is the server active
|
private String |
serverName
Server name or IP address
|
Constructor and Description |
---|
ServerDescriptor(String type,
String name,
String group,
String active)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getDataType()
Get the data type
|
String |
getGroupName()
Get the groupName property.
|
boolean |
getIsActive()
Get the isActive property.
|
String |
getServerName()
Get the serverName property.
|
boolean |
isDataType(String type)
Does this server contain data of specified type
|
void |
setDataType(String newValue)
Set the dataType property.
|
void |
setGroupName(String newValue)
Set the groupName property.
|
void |
setIsActive(boolean newValue)
Set the isActive property.
|
void |
setServerName(String newValue)
Set the serverName property.
|
String |
toString()
Get a String representation of this object
|
private boolean isActive
private String serverName
public ServerDescriptor(String type, String name, String group, String active)
public boolean getIsActive()
public String getDataType()
public boolean isDataType(String type)
public String getServerName()
public String getGroupName()
public void setIsActive(boolean newValue)
newValue
- The new vaue for the isActive property.public void setDataType(String newValue)
newValue
- The new vaue for the dataType property.public void setServerName(String newValue)
newValue
- The new vaue for the serverName property.public void setGroupName(String newValue)
newValue
- The new vaue for the groupName property.