public class MetadataFieldGroupPermissionType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for MetadataFieldGroupPermissionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MetadataFieldGroupPermissionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="permission" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="fieldGroup" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldGroupPermissionType" maxOccurs="unbounded" minOccurs="0"/>
<element name="field" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldPermissionType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="username" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<MetadataFieldPermissionType> |
field |
protected List<MetadataFieldGroupPermissionType> |
fieldGroup |
protected String |
name |
protected String |
permission |
protected String |
username |
| Constructor and Description |
|---|
MetadataFieldGroupPermissionType() |
protected String name
protected String permission
protected List<MetadataFieldGroupPermissionType> fieldGroup
protected List<MetadataFieldPermissionType> field
protected String username
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSetName()
public String getPermission()
Stringpublic void setPermission(String value)
value - allowed object is
Stringpublic boolean isSetPermission()
public List<MetadataFieldGroupPermissionType> getFieldGroup()
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 fieldGroup property.
For example, to add a new item, do as follows:
getFieldGroup().add(newItem);
Objects of the following type(s) are allowed in the list
MetadataFieldGroupPermissionType
public boolean isSetFieldGroup()
public void unsetFieldGroup()
public List<MetadataFieldPermissionType> getField()
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 field property.
For example, to add a new item, do as follows:
getField().add(newItem);
Objects of the following type(s) are allowed in the list
MetadataFieldPermissionType
public boolean isSetField()
public void unsetField()
public String getUsername()
Stringpublic void setUsername(String value)
value - allowed object is
Stringpublic boolean isSetUsername()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic MetadataFieldGroupPermissionType withName(String value)
public MetadataFieldGroupPermissionType withPermission(String value)
public MetadataFieldGroupPermissionType withFieldGroup(MetadataFieldGroupPermissionType... values)
public MetadataFieldGroupPermissionType withFieldGroup(Collection<MetadataFieldGroupPermissionType> values)
public MetadataFieldGroupPermissionType withField(MetadataFieldPermissionType... values)
public MetadataFieldGroupPermissionType withField(Collection<MetadataFieldPermissionType> values)
public MetadataFieldGroupPermissionType withUsername(String value)
Copyright © 2015. All rights reserved.