|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.phoenix.pmd.ruleset.jaxb.impl.RuleTypeImpl
public class RuleTypeImpl
| 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 |
|---|
protected String _Name
protected String _Ref
protected String _Message
protected String _Clazz
protected com.sun.xml.bind.util.ListImpl _DescriptionOrExampleOrPriority
protected String _ExternalInfoUrl
public static final Class version
| Constructor Detail |
|---|
public RuleTypeImpl()
| Method Detail |
|---|
public String getName()
RuleType
getName in interface RuleTypeStringpublic void setName(String value)
RuleType
setName in interface RuleTypevalue - allowed object is
Stringpublic boolean isSetName()
isSetName in interface RuleTypepublic void unsetName()
unsetName in interface RuleTypepublic String getRef()
RuleType
getRef in interface RuleTypeStringpublic void setRef(String value)
RuleType
setRef in interface RuleTypevalue - allowed object is
Stringpublic boolean isSetRef()
isSetRef in interface RuleTypepublic void unsetRef()
unsetRef in interface RuleTypepublic String getMessage()
RuleType
getMessage in interface RuleTypeStringpublic void setMessage(String value)
RuleType
setMessage in interface RuleTypevalue - allowed object is
Stringpublic boolean isSetMessage()
isSetMessage in interface RuleTypepublic void unsetMessage()
unsetMessage in interface RuleTypepublic String getClazz()
RuleType
getClazz in interface RuleTypeStringpublic void setClazz(String value)
RuleType
setClazz in interface RuleTypevalue - allowed object is
Stringpublic boolean isSetClazz()
isSetClazz in interface RuleTypepublic void unsetClazz()
unsetClazz in interface RuleTypeprotected com.sun.xml.bind.util.ListImpl _getDescriptionOrExampleOrPriority()
public List getDescriptionOrExampleOrPriority()
RuleType
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
getDescriptionOrExampleOrPriority in interface RuleTypepublic boolean isSetDescriptionOrExampleOrPriority()
isSetDescriptionOrExampleOrPriority in interface RuleTypepublic void unsetDescriptionOrExampleOrPriority()
unsetDescriptionOrExampleOrPriority in interface RuleTypepublic String getExternalInfoUrl()
RuleType
getExternalInfoUrl in interface RuleTypeStringpublic void setExternalInfoUrl(String value)
RuleType
setExternalInfoUrl in interface RuleTypevalue - allowed object is
Stringpublic boolean isSetExternalInfoUrl()
isSetExternalInfoUrl in interface RuleTypepublic void unsetExternalInfoUrl()
unsetExternalInfoUrl in interface RuleTypepublic UnmarshallingEventHandler createUnmarshaller(UnmarshallingContext context)
UnmarshallableObject
createUnmarshaller in interface UnmarshallableObject
public void serializeBody(XMLSerializer context)
throws SAXException
XMLSerializable
serializeBody in interface XMLSerializableSAXException
public void serializeAttributes(XMLSerializer context)
throws SAXException
XMLSerializable
serializeAttributes in interface XMLSerializableSAXException
public void serializeURIs(XMLSerializer context)
throws SAXException
XMLSerializable
serializeURIs in interface XMLSerializableSAXExceptionpublic String ____jaxb____getId()
____jaxb____getId in interface com.sun.xml.bind.marshaller.IdentifiableObjectpublic Class getPrimaryInterface()
ValidatableObjectFooImpl will return Foo
from this method.
getPrimaryInterface in interface ValidatableObjectpublic com.sun.msv.verifier.DocumentDeclaration createRawValidator()
ValidatableObject
createRawValidator in interface ValidatableObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||