Class EntityChannel
- java.lang.Object
-
- org.xwiki.netflux.rest.model.jaxb.EntityChannel
-
public class EntityChannel extends Object
Java class for EntityChannel complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EntityChannel"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="entityReference" type="{http://www.xwiki.org/netflux}EntityReference"/> <element name="path" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="userCount" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected EntityReference
entityReference
protected String
key
protected List<String>
path
protected Integer
userCount
-
Constructor Summary
Constructors Constructor Description EntityChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityReference
getEntityReference()
Gets the value of the entityReference property.String
getKey()
Gets the value of the key property.List<String>
getPath()
Gets the value of the path property.Integer
getUserCount()
Gets the value of the userCount property.void
setEntityReference(EntityReference value)
Sets the value of the entityReference property.void
setKey(String value)
Sets the value of the key property.void
setUserCount(Integer value)
Sets the value of the userCount property.EntityChannel
withEntityReference(EntityReference value)
EntityChannel
withKey(String value)
EntityChannel
withPath(String... values)
EntityChannel
withPath(Collection<String> values)
EntityChannel
withUserCount(Integer value)
-
-
-
Field Detail
-
entityReference
protected EntityReference entityReference
-
key
protected String key
-
userCount
protected Integer userCount
-
-
Method Detail
-
getEntityReference
public EntityReference getEntityReference()
Gets the value of the entityReference property.- Returns:
- possible object is
EntityReference
-
setEntityReference
public void setEntityReference(EntityReference value)
Sets the value of the entityReference property.- Parameters:
value
- allowed object isEntityReference
-
getPath
public List<String> getPath()
Gets the value of the path property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the path property.For example, to add a new item, do as follows:
getPath().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
getKey
public String getKey()
Gets the value of the key property.- Returns:
- possible object is
String
-
setKey
public void setKey(String value)
Sets the value of the key property.- Parameters:
value
- allowed object isString
-
getUserCount
public Integer getUserCount()
Gets the value of the userCount property.- Returns:
- possible object is
Integer
-
setUserCount
public void setUserCount(Integer value)
Sets the value of the userCount property.- Parameters:
value
- allowed object isInteger
-
withEntityReference
public EntityChannel withEntityReference(EntityReference value)
-
withPath
public EntityChannel withPath(String... values)
-
withPath
public EntityChannel withPath(Collection<String> values)
-
withKey
public EntityChannel withKey(String value)
-
withUserCount
public EntityChannel withUserCount(Integer value)
-
-