org.jcoderz.phoenix.pmd.ruleset.jaxb.impl
Class RuleTypeImpl

java.lang.Object
  extended by org.jcoderz.phoenix.pmd.ruleset.jaxb.impl.RuleTypeImpl
All Implemented Interfaces:
com.sun.xml.bind.JAXBObject, com.sun.xml.bind.marshaller.IdentifiableObject, Serializable, RuleType, UnmarshallableObject, ValidatableObject, XMLSerializable
Direct Known Subclasses:
RuleImpl

public class RuleTypeImpl
extends Object
implements RuleType, Serializable, com.sun.xml.bind.JAXBObject, UnmarshallableObject, XMLSerializable, com.sun.xml.bind.marshaller.IdentifiableObject, ValidatableObject

See Also:
Serialized Form

Nested Class Summary
static class RuleTypeImpl.DescriptionImpl
           
static class RuleTypeImpl.ExampleImpl
           
static class RuleTypeImpl.PriorityImpl
           
 class RuleTypeImpl.Unmarshaller
           
 
Nested classes/interfaces inherited from interface org.jcoderz.phoenix.pmd.ruleset.jaxb.RuleType
RuleType.Description, RuleType.Example, RuleType.Priority
 
Field Summary
protected  String _Clazz
           
protected  com.sun.xml.bind.util.ListImpl _DescriptionOrExampleOrPriority
           
protected  String _ExternalInfoUrl
           
protected  String _Message
           
protected  String _Name
           
protected  String _Ref
           
static Class version
           
 
Constructor Summary
RuleTypeImpl()
           
 
Method Summary
 String ____jaxb____getId()
           
protected  com.sun.xml.bind.util.ListImpl _getDescriptionOrExampleOrPriority()
           
 com.sun.msv.verifier.DocumentDeclaration createRawValidator()
          Gets the schema fragment associated with this class.
 UnmarshallingEventHandler createUnmarshaller(UnmarshallingContext context)
          Creates an unmarshaller that will unmarshall this object.
 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.
 Class getPrimaryInterface()
          Gets the main interface that this object implements.
 String getRef()
          Gets the value of the ref property.
 boolean isSetClazz()
           
 boolean isSetDescriptionOrExampleOrPriority()
           
 boolean isSetExternalInfoUrl()
           
 boolean isSetMessage()
           
 boolean isSetName()
           
 boolean isSetRef()
           
 void serializeAttributes(XMLSerializer context)
          Serializes attributes into the specified target.
 void serializeBody(XMLSerializer context)
          Serializes child elements and texts into the specified target.
 void serializeURIs(XMLSerializer context)
          Declares all the namespace URIs this object is using at its top-level scope into the specified target.
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Name

protected String _Name

_Ref

protected String _Ref

_Message

protected String _Message

_Clazz

protected String _Clazz

_DescriptionOrExampleOrPriority

protected com.sun.xml.bind.util.ListImpl _DescriptionOrExampleOrPriority

_ExternalInfoUrl

protected String _ExternalInfoUrl

version

public static final Class version
Constructor Detail

RuleTypeImpl

public RuleTypeImpl()
Method Detail

getName

public String getName()
Description copied from interface: RuleType
Gets the value of the name property.

Specified by:
getName in interface RuleType
Returns:
possible object is String

setName

public void setName(String value)
Description copied from interface: RuleType
Sets the value of the name property.

Specified by:
setName in interface RuleType
Parameters:
value - allowed object is String

isSetName

public boolean isSetName()
Specified by:
isSetName in interface RuleType

unsetName

public void unsetName()
Specified by:
unsetName in interface RuleType

getRef

public String getRef()
Description copied from interface: RuleType
Gets the value of the ref property.

Specified by:
getRef in interface RuleType
Returns:
possible object is String

setRef

public void setRef(String value)
Description copied from interface: RuleType
Sets the value of the ref property.

Specified by:
setRef in interface RuleType
Parameters:
value - allowed object is String

isSetRef

public boolean isSetRef()
Specified by:
isSetRef in interface RuleType

unsetRef

public void unsetRef()
Specified by:
unsetRef in interface RuleType

getMessage

public String getMessage()
Description copied from interface: RuleType
Gets the value of the message property.

Specified by:
getMessage in interface RuleType
Returns:
possible object is String

setMessage

public void setMessage(String value)
Description copied from interface: RuleType
Sets the value of the message property.

Specified by:
setMessage in interface RuleType
Parameters:
value - allowed object is String

isSetMessage

public boolean isSetMessage()
Specified by:
isSetMessage in interface RuleType

unsetMessage

public void unsetMessage()
Specified by:
unsetMessage in interface RuleType

getClazz

public String getClazz()
Description copied from interface: RuleType
Gets the value of the clazz property.

Specified by:
getClazz in interface RuleType
Returns:
possible object is String

setClazz

public void setClazz(String value)
Description copied from interface: RuleType
Sets the value of the clazz property.

Specified by:
setClazz in interface RuleType
Parameters:
value - allowed object is String

isSetClazz

public boolean isSetClazz()
Specified by:
isSetClazz in interface RuleType

unsetClazz

public void unsetClazz()
Specified by:
unsetClazz in interface RuleType

_getDescriptionOrExampleOrPriority

protected com.sun.xml.bind.util.ListImpl _getDescriptionOrExampleOrPriority()

getDescriptionOrExampleOrPriority

public List getDescriptionOrExampleOrPriority()
Description copied from interface: RuleType
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

Specified by:
getDescriptionOrExampleOrPriority in interface RuleType

isSetDescriptionOrExampleOrPriority

public boolean isSetDescriptionOrExampleOrPriority()
Specified by:
isSetDescriptionOrExampleOrPriority in interface RuleType

unsetDescriptionOrExampleOrPriority

public void unsetDescriptionOrExampleOrPriority()
Specified by:
unsetDescriptionOrExampleOrPriority in interface RuleType

getExternalInfoUrl

public String getExternalInfoUrl()
Description copied from interface: RuleType
Gets the value of the externalInfoUrl property.

Specified by:
getExternalInfoUrl in interface RuleType
Returns:
possible object is String

setExternalInfoUrl

public void setExternalInfoUrl(String value)
Description copied from interface: RuleType
Sets the value of the externalInfoUrl property.

Specified by:
setExternalInfoUrl in interface RuleType
Parameters:
value - allowed object is String

isSetExternalInfoUrl

public boolean isSetExternalInfoUrl()
Specified by:
isSetExternalInfoUrl in interface RuleType

unsetExternalInfoUrl

public void unsetExternalInfoUrl()
Specified by:
unsetExternalInfoUrl in interface RuleType

createUnmarshaller

public UnmarshallingEventHandler createUnmarshaller(UnmarshallingContext context)
Description copied from interface: UnmarshallableObject
Creates an unmarshaller that will unmarshall this object.

Specified by:
createUnmarshaller in interface UnmarshallableObject

serializeBody

public void serializeBody(XMLSerializer context)
                   throws SAXException
Description copied from interface: XMLSerializable
Serializes child elements and texts into the specified target.

Specified by:
serializeBody in interface XMLSerializable
Throws:
SAXException

serializeAttributes

public void serializeAttributes(XMLSerializer context)
                         throws SAXException
Description copied from interface: XMLSerializable
Serializes attributes into the specified target.

Specified by:
serializeAttributes in interface XMLSerializable
Throws:
SAXException

serializeURIs

public void serializeURIs(XMLSerializer context)
                   throws SAXException
Description copied from interface: XMLSerializable
Declares all the namespace URIs this object is using at its top-level scope into the specified target.

Specified by:
serializeURIs in interface XMLSerializable
Throws:
SAXException

____jaxb____getId

public String ____jaxb____getId()
Specified by:
____jaxb____getId in interface com.sun.xml.bind.marshaller.IdentifiableObject

getPrimaryInterface

public Class getPrimaryInterface()
Description copied from interface: ValidatableObject
Gets the main interface that this object implements. For example, FooImpl will return Foo from this method.

Specified by:
getPrimaryInterface in interface ValidatableObject

createRawValidator

public com.sun.msv.verifier.DocumentDeclaration createRawValidator()
Description copied from interface: ValidatableObject
Gets the schema fragment associated with this class.

Specified by:
createRawValidator in interface ValidatableObject


Copyright 2007 The jCoderZ Project.