org.jcoderz.phoenix.findbugs.jaxb.impl
Class BugPatternTypeImpl

java.lang.Object
  extended by org.jcoderz.phoenix.findbugs.jaxb.impl.BugPatternTypeImpl
All Implemented Interfaces:
com.sun.xml.bind.JAXBObject, Serializable, BugPatternType, UnmarshallableObject, ValidatableObject, XMLSerializable
Direct Known Subclasses:
BugPatternImpl

public class BugPatternTypeImpl
extends Object
implements BugPatternType, Serializable, com.sun.xml.bind.JAXBObject, UnmarshallableObject, XMLSerializable, ValidatableObject

See Also:
Serialized Form

Nested Class Summary
 class BugPatternTypeImpl.Unmarshaller
           
 
Field Summary
protected  String _Abbrev
           
protected  String _Category
           
protected  BigInteger _Cweid
           
protected  com.sun.xml.bind.util.ListImpl _ShortDescriptionOrDetails
           
protected  String _Type
           
static Class version
           
 
Constructor Summary
BugPatternTypeImpl()
           
 
Method Summary
protected  com.sun.xml.bind.util.ListImpl _getShortDescriptionOrDetails()
           
 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 getAbbrev()
          Gets the value of the abbrev property.
 String getCategory()
          Gets the value of the category property.
 BigInteger getCweid()
          Gets the value of the cweid property.
 Class getPrimaryInterface()
          Gets the main interface that this object implements.
 List getShortDescriptionOrDetails()
          Gets the value of the ShortDescriptionOrDetails property.
 String getType()
          Gets the value of the type property.
 boolean isSetAbbrev()
           
 boolean isSetCategory()
           
 boolean isSetCweid()
           
 boolean isSetShortDescriptionOrDetails()
           
 boolean isSetType()
           
 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 setAbbrev(String value)
          Sets the value of the abbrev property.
 void setCategory(String value)
          Sets the value of the category property.
 void setCweid(BigInteger value)
          Sets the value of the cweid property.
 void setType(String value)
          Sets the value of the type property.
 void unsetAbbrev()
           
 void unsetCategory()
           
 void unsetCweid()
           
 void unsetShortDescriptionOrDetails()
           
 void unsetType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Category

protected String _Category

_Type

protected String _Type

_ShortDescriptionOrDetails

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

_Cweid

protected BigInteger _Cweid

_Abbrev

protected String _Abbrev

version

public static final Class version
Constructor Detail

BugPatternTypeImpl

public BugPatternTypeImpl()
Method Detail

getCategory

public String getCategory()
Description copied from interface: BugPatternType
Gets the value of the category property.

Specified by:
getCategory in interface BugPatternType
Returns:
possible object is String

setCategory

public void setCategory(String value)
Description copied from interface: BugPatternType
Sets the value of the category property.

Specified by:
setCategory in interface BugPatternType
Parameters:
value - allowed object is String

isSetCategory

public boolean isSetCategory()
Specified by:
isSetCategory in interface BugPatternType

unsetCategory

public void unsetCategory()
Specified by:
unsetCategory in interface BugPatternType

getType

public String getType()
Description copied from interface: BugPatternType
Gets the value of the type property.

Specified by:
getType in interface BugPatternType
Returns:
possible object is String

setType

public void setType(String value)
Description copied from interface: BugPatternType
Sets the value of the type property.

Specified by:
setType in interface BugPatternType
Parameters:
value - allowed object is String

isSetType

public boolean isSetType()
Specified by:
isSetType in interface BugPatternType

unsetType

public void unsetType()
Specified by:
unsetType in interface BugPatternType

_getShortDescriptionOrDetails

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

getShortDescriptionOrDetails

public List getShortDescriptionOrDetails()
Description copied from interface: BugPatternType
Gets the value of the ShortDescriptionOrDetails 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 ShortDescriptionOrDetails property.

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

    getShortDescriptionOrDetails().add(newItem);
 

Objects of the following type(s) are allowed in the list Details ShortDescription

Specified by:
getShortDescriptionOrDetails in interface BugPatternType

isSetShortDescriptionOrDetails

public boolean isSetShortDescriptionOrDetails()
Specified by:
isSetShortDescriptionOrDetails in interface BugPatternType

unsetShortDescriptionOrDetails

public void unsetShortDescriptionOrDetails()
Specified by:
unsetShortDescriptionOrDetails in interface BugPatternType

getCweid

public BigInteger getCweid()
Description copied from interface: BugPatternType
Gets the value of the cweid property.

Specified by:
getCweid in interface BugPatternType
Returns:
possible object is BigInteger

setCweid

public void setCweid(BigInteger value)
Description copied from interface: BugPatternType
Sets the value of the cweid property.

Specified by:
setCweid in interface BugPatternType
Parameters:
value - allowed object is BigInteger

isSetCweid

public boolean isSetCweid()
Specified by:
isSetCweid in interface BugPatternType

unsetCweid

public void unsetCweid()
Specified by:
unsetCweid in interface BugPatternType

getAbbrev

public String getAbbrev()
Description copied from interface: BugPatternType
Gets the value of the abbrev property.

Specified by:
getAbbrev in interface BugPatternType
Returns:
possible object is String

setAbbrev

public void setAbbrev(String value)
Description copied from interface: BugPatternType
Sets the value of the abbrev property.

Specified by:
setAbbrev in interface BugPatternType
Parameters:
value - allowed object is String

isSetAbbrev

public boolean isSetAbbrev()
Specified by:
isSetAbbrev in interface BugPatternType

unsetAbbrev

public void unsetAbbrev()
Specified by:
unsetAbbrev in interface BugPatternType

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

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.