public class Profile<P extends Property> extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected ArrayList<P> |
container |
protected String |
name |
static String |
profile_property_added |
static String |
profile_property_change |
static String |
profile_property_removed |
Constructor and Description |
---|
Profile() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(P property) |
void |
add(Profile<P> profile,
boolean enabled) |
void |
addPropertyChangeListener(String name,
PropertyChangeListener listener) |
void |
clear() |
P |
get(P query) |
String |
getName() |
Iterator<P> |
getProperties(boolean enabled) |
Iterator<P> |
iterator() |
void |
removePropertyChangeListener(String name,
PropertyChangeListener listener) |
void |
setChanged() |
void |
setName(String name) |
int |
size() |
Collection<P> |
values() |
public static String profile_property_change
public static String profile_property_added
public static String profile_property_removed
protected String name
public String getName()
public void setName(String name)
public void setChanged()
public boolean add(P property)
public int size()
public Collection<P> values()
public void clear()
public void addPropertyChangeListener(String name, PropertyChangeListener listener)
public void removePropertyChangeListener(String name, PropertyChangeListener listener)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.