Class Role
- java.lang.Object
-
- com.netgrif.application.engine.importer.model.Role
-
public class Role extends java.lang.ObjectJava class for role complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="role"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/> <choice> <element name="title" type="{}i18nStringType"/> <element name="name" type="{}i18nStringType"/> </choice> <element name="event" type="{}event" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="global" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Event>eventprotected java.lang.Booleanglobalprotected java.lang.Stringidprotected I18NStringTypenameprotected I18NStringTypetitle
-
Constructor Summary
Constructors Constructor Description Role()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Event>getEvent()Gets the value of the event property.java.lang.StringgetId()Gets the value of the id property.I18NStringTypegetName()Gets the value of the name property.I18NStringTypegetTitle()Gets the value of the title property.java.lang.BooleanisGlobal()Gets the value of the global property.voidsetGlobal(java.lang.Boolean value)Sets the value of the global property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetName(I18NStringType value)Sets the value of the name property.voidsetTitle(I18NStringType value)Sets the value of the title property.
-
-
-
Field Detail
-
id
protected java.lang.String id
-
title
protected I18NStringType title
-
name
protected I18NStringType name
-
event
protected java.util.List<Event> event
-
global
protected java.lang.Boolean global
-
-
Method Detail
-
getId
public java.lang.String getId()
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getTitle
public I18NStringType getTitle()
Gets the value of the title property.- Returns:
- possible object is
I18NStringType
-
setTitle
public void setTitle(I18NStringType value)
Sets the value of the title property.- Parameters:
value- allowed object isI18NStringType
-
getName
public I18NStringType getName()
Gets the value of the name property.- Returns:
- possible object is
I18NStringType
-
setName
public void setName(I18NStringType value)
Sets the value of the name property.- Parameters:
value- allowed object isI18NStringType
-
getEvent
public java.util.List<Event> getEvent()
Gets the value of the event 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
setmethod for the event property.For example, to add a new item, do as follows:
getEvent().add(newItem);Objects of the following type(s) are allowed in the list
Event
-
isGlobal
public java.lang.Boolean isGlobal()
Gets the value of the global property.- Returns:
- possible object is
Boolean
-
setGlobal
public void setGlobal(java.lang.Boolean value)
Sets the value of the global property.- Parameters:
value- allowed object isBoolean
-
-