org.cybergarage.upnp.event.Property Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of upnp-stack-jdk13 Show documentation
Show all versions of upnp-stack-jdk13 Show documentation
A pure Java Open Source implementation of the UPnP stack backported for JDK13
The newest version!
/******************************************************************
*
* CyberUPnP for Java
*
* Copyright (C) Satoshi Konno 2002-2003
*
* File: Subscriber.java
*
* Revision;
*
* 01/29/03
* - first revision.
* 05/22/03
* - Giordano Sassaroli
* - Problem : the setName method does not set the name of the property
* - Error : the method contains a bug:
* 06/18/03
* - Fixed a bug when a null value is received to the name and the value of property.
*
******************************************************************/
package org.cybergarage.upnp.event;
public class Property
{
////////////////////////////////////////////////
// Constructor
////////////////////////////////////////////////
public Property()
{
}
////////////////////////////////////////////////
// name
////////////////////////////////////////////////
private String name = "";
public String getName() {
return name;
}
public void setName(String val) {
if (val == null)
val = "";
name = val;
}
////////////////////////////////////////////////
// value
////////////////////////////////////////////////
private String value = "";
public String getValue() {
return value;
}
public void setValue(String val) {
if (val == null)
val = "";
value = val;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy