public class FilterProfile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<FileFilter> |
filters
File filters associated with this profile
|
private long |
id
Profile ID
|
private boolean |
isDefault
Flag indicating whether this is the default profile (there can be only one)
|
private java.lang.String |
name
Name assigned to this profile
|
Constructor and Description |
---|
FilterProfile()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addFilter(FileFilter filter)
Add a file filter.
|
java.util.List<FileFilter> |
getFilters()
Get the list of filters.
|
long |
getId()
Getter for profile ID.
|
java.lang.String |
getName()
Getter for profile name.
|
boolean |
isDefault()
Getter for default flag.
|
void |
setDefault(boolean isDefault)
Setter for default flag.
|
void |
setId(long id)
Setter for profile ID.
|
void |
setName(java.lang.String name)
Setter for profile name.
|
private long id
private boolean isDefault
private java.lang.String name
private final java.util.List<FileFilter> filters
public long getId()
public void setId(long id)
id
- Profile ID.public boolean isDefault()
True
if this profile is the default profile, else false
.public void setDefault(boolean isDefault)
isDefault
- True
if this profile is the default profile, else false
.public java.lang.String getName()
public void setName(java.lang.String name)
name
- Profile name.public void addFilter(FileFilter filter)
filter
- File filter to addpublic java.util.List<FileFilter> getFilters()