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

All Known Subinterfaces:
Rule
All Known Implementing Classes:
RuleImpl, RuleTypeImpl

public interface RuleType

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 81)

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="example" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="priority" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element ref="{http://pmd.sf.net/ruleset/1.0.0}properties"/>
       </choice>
       <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="externalInfoUrl" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="message" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static interface RuleType.Description
          Java content class for description element declaration.
static interface RuleType.Example
          Java content class for example element declaration.
static interface RuleType.Priority
          Java content class for priority element declaration.
 
Method Summary
 String getClazz()
          Gets the value of the clazz property.
 List getDescriptionOrExampleOrPriority()
          Gets the value of the DescriptionOrExampleOrPriority property.
 String getExternalInfoUrl()
          Gets the value of the externalInfoUrl property.
 String getMessage()
          Gets the value of the message property.
 String getName()
          Gets the value of the name property.
 String getRef()
          Gets the value of the ref property.
 boolean isSetClazz()
           
 boolean isSetDescriptionOrExampleOrPriority()
           
 boolean isSetExternalInfoUrl()
           
 boolean isSetMessage()
           
 boolean isSetName()
           
 boolean isSetRef()
           
 void setClazz(String value)
          Sets the value of the clazz property.
 void setExternalInfoUrl(String value)
          Sets the value of the externalInfoUrl property.
 void setMessage(String value)
          Sets the value of the message property.
 void setName(String value)
          Sets the value of the name property.
 void setRef(String value)
          Sets the value of the ref property.
 void unsetClazz()
           
 void unsetDescriptionOrExampleOrPriority()
           
 void unsetExternalInfoUrl()
           
 void unsetMessage()
           
 void unsetName()
           
 void unsetRef()
           
 

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()

getRef

String getRef()
Gets the value of the ref property.

Returns:
possible object is String

setRef

void setRef(String value)
Sets the value of the ref property.

Parameters:
value - allowed object is String

isSetRef

boolean isSetRef()

unsetRef

void unsetRef()

getMessage

String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

void setMessage(String value)
Sets the value of the message property.

Parameters:
value - allowed object is String

isSetMessage

boolean isSetMessage()

unsetMessage

void unsetMessage()

getClazz

String getClazz()
Gets the value of the clazz property.

Returns:
possible object is String

setClazz

void setClazz(String value)
Sets the value of the clazz property.

Parameters:
value - allowed object is String

isSetClazz

boolean isSetClazz()

unsetClazz

void unsetClazz()

getDescriptionOrExampleOrPriority

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

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

    getDescriptionOrExampleOrPriority().add(newItem);
 

Objects of the following type(s) are allowed in the list Properties RuleType.Example RuleType.Description RuleType.Priority


isSetDescriptionOrExampleOrPriority

boolean isSetDescriptionOrExampleOrPriority()

unsetDescriptionOrExampleOrPriority

void unsetDescriptionOrExampleOrPriority()

getExternalInfoUrl

String getExternalInfoUrl()
Gets the value of the externalInfoUrl property.

Returns:
possible object is String

setExternalInfoUrl

void setExternalInfoUrl(String value)
Sets the value of the externalInfoUrl property.

Parameters:
value - allowed object is String

isSetExternalInfoUrl

boolean isSetExternalInfoUrl()

unsetExternalInfoUrl

void unsetExternalInfoUrl()


Copyright 2007 The jCoderZ Project.