Class MetadataFieldGroupPermissionType

java.lang.Object
com.vidispine.generated.MetadataFieldGroupPermissionType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

public class MetadataFieldGroupPermissionType extends Object implements Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

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>
 
See Also:
  • Field Details

  • Constructor Details

    • MetadataFieldGroupPermissionType

      public MetadataFieldGroupPermissionType()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • isSetName

      public boolean isSetName()
    • getPermission

      public String getPermission()
      Gets the value of the permission property.
      Returns:
      possible object is String
    • setPermission

      public void setPermission(String value)
      Sets the value of the permission property.
      Parameters:
      value - allowed object is String
    • isSetPermission

      public boolean isSetPermission()
    • getFieldGroup

      public List<MetadataFieldGroupPermissionType> getFieldGroup()
      Gets the value of the fieldGroup 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 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

      Returns:
      The value of the fieldGroup property.
    • isSetFieldGroup

      public boolean isSetFieldGroup()
    • unsetFieldGroup

      public void unsetFieldGroup()
    • getField

      public List<MetadataFieldPermissionType> getField()
      Gets the value of the field 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 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

      Returns:
      The value of the field property.
    • isSetField

      public boolean isSetField()
    • unsetField

      public void unsetField()
    • getUsername

      public String getUsername()
      Gets the value of the username property.
      Returns:
      possible object is String
    • setUsername

      public void setUsername(String value)
      Sets the value of the username property.
      Parameters:
      value - allowed object is String
    • isSetUsername

      public boolean isSetUsername()
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • copyTo

      public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
    • withName

      public MetadataFieldGroupPermissionType withName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withPermission

      public MetadataFieldGroupPermissionType withPermission(String value)
      Sets the value of the permission property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withFieldGroup

      Adds objects to the list of FieldGroup using add method
      Parameters:
      values - objects to add to the list FieldGroup
      Returns:
      The class instance
    • withFieldGroup

      Adds objects to the list of FieldGroup using addAll method
      Parameters:
      values - objects to add to the list FieldGroup
      Returns:
      The class instance
    • withField

      Adds objects to the list of Field using add method
      Parameters:
      values - objects to add to the list Field
      Returns:
      The class instance
    • withField

      Adds objects to the list of Field using addAll method
      Parameters:
      values - objects to add to the list Field
      Returns:
      The class instance
    • withUsername

      public MetadataFieldGroupPermissionType withUsername(String value)
      Sets the value of the username property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • equals

      public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)
      Specified by:
      equals in interface org.jvnet.jaxb.lang.Equals
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • visit

      public MetadataFieldGroupPermissionType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
    • hashCode

      public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb.lang.HashCode
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb.lang.ToString