org.jcoderz.phoenix.pmd.ruleset.jaxb
Interface RulesetType

All Known Subinterfaces:
Ruleset
All Known Implementing Classes:
RulesetImpl, RulesetTypeImpl

public interface RulesetType

Java content class for anonymous complex type.

The following schema fragment specifies the expected content contained within this java content object. (defined at file:/home/fawkez/dev/src/xml/schema/pmd-ruleset.xsd line 103)

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element ref="{http://pmd.sf.net/ruleset/1.0.0}rule" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 String getDescription()
          Gets the value of the description property.
 String getName()
          Gets the value of the name property.
 List getRule()
          Gets the value of the Rule property.
 boolean isSetDescription()
           
 boolean isSetName()
           
 boolean isSetRule()
           
 void setDescription(String value)
          Sets the value of the description property.
 void setName(String value)
          Sets the value of the name property.
 void unsetDescription()
           
 void unsetName()
           
 void unsetRule()
           
 

Method Detail

getName

String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isSetName

boolean isSetName()

unsetName

void unsetName()

getDescription

String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

isSetDescription

boolean isSetDescription()

unsetDescription

void unsetDescription()

getRule

List getRule()
Gets the value of the Rule 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 Rule property.

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

    getRule().add(newItem);
 

Objects of the following type(s) are allowed in the list RuleType Rule


isSetRule

boolean isSetRule()

unsetRule

void unsetRule()


Copyright 2007 The jCoderZ Project.