be.destin.skos.usage
Class Usage

java.lang.Object
  extended by be.destin.skos.usage.Usage

public class Usage
extends java.lang.Object

Java class for Usage complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Usage">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <element name="usage" type="{}Usage" maxOccurs="unbounded" minOccurs="0"/>
         <element name="example" type="{}Reference" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="application" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="about" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="count" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="category" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="pure" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
Usage()
           
 
Method Summary
 java.lang.String getAbout()
          Gets the value of the about property.
 java.lang.String getApplication()
          Gets the value of the application property.
 java.lang.String getCategory()
          Gets the value of the category property.
 int getCount()
          Gets the value of the count property.
 java.lang.String getRole()
          Gets the value of the role property.
 java.util.List<java.lang.Object> getUsageAndExample()
          Gets the value of the usageAndExample property.
 boolean isPure()
          Gets the value of the pure property.
 void setAbout(java.lang.String value)
          Sets the value of the about property.
 void setApplication(java.lang.String value)
          Sets the value of the application property.
 void setCategory(java.lang.String value)
          Sets the value of the category property.
 void setCount(int value)
          Sets the value of the count property.
 void setPure(java.lang.Boolean value)
          Sets the value of the pure property.
 void setRole(java.lang.String value)
          Sets the value of the role property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Usage

public Usage()
Method Detail

getUsageAndExample

public java.util.List<java.lang.Object> getUsageAndExample()
Gets the value of the usageAndExample 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 usageAndExample property.

For example, to add a new item, do as follows:

    getUsageAndExample().add(newItem);
 

Objects of the following type(s) are allowed in the list Usage Reference


getApplication

public java.lang.String getApplication()
Gets the value of the application property.

Returns:
possible object is String

setApplication

public void setApplication(java.lang.String value)
Sets the value of the application property.

Parameters:
value - allowed object is String

getRole

public java.lang.String getRole()
Gets the value of the role property.

Returns:
possible object is String

setRole

public void setRole(java.lang.String value)
Sets the value of the role property.

Parameters:
value - allowed object is String

getAbout

public java.lang.String getAbout()
Gets the value of the about property.

Returns:
possible object is String

setAbout

public void setAbout(java.lang.String value)
Sets the value of the about property.

Parameters:
value - allowed object is String

getCount

public int getCount()
Gets the value of the count property.


setCount

public void setCount(int value)
Sets the value of the count property.


getCategory

public java.lang.String getCategory()
Gets the value of the category property.

Returns:
possible object is String

setCategory

public void setCategory(java.lang.String value)
Sets the value of the category property.

Parameters:
value - allowed object is String

isPure

public boolean isPure()
Gets the value of the pure property.

Returns:
possible object is Boolean

setPure

public void setPure(java.lang.Boolean value)
Sets the value of the pure property.

Parameters:
value - allowed object is Boolean