public class ContactFilter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
author |
protected int |
countContacts |
protected int |
countRules |
protected java.lang.String |
created |
protected long |
id |
protected java.lang.String |
name |
protected java.util.List<Rule> |
rules |
protected java.lang.String |
status |
protected long |
updated |
Constructor and Description |
---|
ContactFilter() |
ContactFilter(long id,
java.lang.String name,
java.lang.String created,
java.lang.String author,
int countContacts,
int countRules,
java.lang.String status,
long updated,
java.util.List<Rule> rules) |
Modifier and Type | Method and Description |
---|---|
void |
addRule(Rule rule)
Adds a single rule to this contact filter
|
void |
clearRules()
Deletes every rule
|
java.lang.String |
getAuthor()
Gets the value of the author property.
|
int |
getCountContacts()
Gets the value of the countContacts property.
|
int |
getCountRules()
Gets the value of the countRules property.
|
java.lang.String |
getCreated()
Gets the value of the created property.
|
long |
getId()
Gets the value of the id property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.util.List<Rule> |
getRules()
Returns the current list of rules
|
java.lang.String |
getStatus()
Gets the value of the status property.
|
long |
getUpdated()
Gets the value of the updated property.
|
void |
setAuthor(java.lang.String value)
Sets the value of the author property.
|
void |
setCountContacts(int value)
Sets the value of the countContacts property.
|
void |
setCountRules(int value)
Sets the value of the countRules property.
|
void |
setCreated(java.lang.String value)
Sets the value of the created property.
|
void |
setId(long value)
Sets the value of the id property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setStatus(java.lang.String value)
Sets the value of the status property.
|
void |
setUpdated(long value)
Sets the value of the updated property.
|
java.lang.String |
toString() |
protected java.lang.String author
protected int countContacts
protected int countRules
protected java.lang.String created
protected long id
protected java.lang.String name
protected java.lang.String status
protected long updated
protected java.util.List<Rule> rules
public ContactFilter()
public ContactFilter(long id, java.lang.String name, java.lang.String created, java.lang.String author, int countContacts, int countRules, java.lang.String status, long updated, java.util.List<Rule> rules)
public java.lang.String getAuthor()
String
public void setAuthor(java.lang.String value)
value
- allowed object is
String
public int getCountContacts()
public void setCountContacts(int value)
public int getCountRules()
public void setCountRules(int value)
public java.lang.String getCreated()
public void setCreated(java.lang.String value)
public long getId()
public void setId(long value)
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getStatus()
String
public void setStatus(java.lang.String value)
value
- allowed object is
String
public long getUpdated()
public void setUpdated(long value)
public void addRule(Rule rule)
rule
- the rule to addpublic void clearRules()
public java.util.List<Rule> getRules()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018. All Rights Reserved.