public class ItemWithProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NO_NAME |
static Properties |
NO_PROPERTIES |
| Constructor and Description |
|---|
ItemWithProperties() |
ItemWithProperties(String name,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName() |
Properties |
getProperties() |
int |
hashCode() |
boolean |
hasName() |
boolean |
hasProperties() |
void |
setName(String name) |
void |
setProperties(Properties properties) |
public static final Properties NO_PROPERTIES
public static final String NO_NAME
public ItemWithProperties()
public ItemWithProperties(String name, Properties properties)
name - name of the item.properties - The object which contains the properties. If you don't have properties simply give
NO_PROPERTIES as parameter.public String getName()
public void setName(String name)
public Properties getProperties()
public void setProperties(Properties properties)
public boolean hasProperties()
public boolean hasName()
Copyright © 2011–2017 SoftwareEntwicklung Beratung Schulung. All rights reserved.