org.jcoderz.phoenix.jcoverage.jaxb.impl
Class ClassTypeImpl

java.lang.Object
  extended by org.jcoderz.phoenix.jcoverage.jaxb.impl.ClassTypeImpl
All Implemented Interfaces:
com.sun.xml.bind.JAXBObject, Serializable, ClassType, UnmarshallableObject, ValidatableObject, XMLSerializable
Direct Known Subclasses:
ClazzImpl

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

See Also:
Serialized Form

Nested Class Summary
 class ClassTypeImpl.Unmarshaller
           
 
Field Summary
protected  BranchType _Branch
           
protected  com.sun.xml.bind.util.ListImpl _CoveredLines
           
protected  FileType _File
           
protected  LineType _Line
           
protected  MethodsType _Methods
           
protected  String _Name
           
protected  ValidType _Valid
           
static Class version
           
 
Constructor Summary
ClassTypeImpl()
           
 
Method Summary
protected  com.sun.xml.bind.util.ListImpl _getCoveredLines()
           
 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.
 BranchType getBranch()
          Gets the value of the branch property.
 List getCoveredLines()
          Gets the value of the CoveredLines property.
 FileType getFile()
          Gets the value of the file property.
 LineType getLine()
          Gets the value of the line property.
 MethodsType getMethods()
          Gets the value of the methods property.
 String getName()
          Gets the value of the name property.
 Class getPrimaryInterface()
          Gets the main interface that this object implements.
 ValidType getValid()
          Gets the value of the valid property.
 boolean isSetBranch()
           
 boolean isSetCoveredLines()
           
 boolean isSetFile()
           
 boolean isSetLine()
           
 boolean isSetMethods()
           
 boolean isSetName()
           
 boolean isSetValid()
           
 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 setBranch(BranchType value)
          Sets the value of the branch property.
 void setFile(FileType value)
          Sets the value of the file property.
 void setLine(LineType value)
          Sets the value of the line property.
 void setMethods(MethodsType value)
          Sets the value of the methods property.
 void setName(String value)
          Sets the value of the name property.
 void setValid(ValidType value)
          Sets the value of the valid property.
 void unsetBranch()
           
 void unsetCoveredLines()
           
 void unsetFile()
           
 void unsetLine()
           
 void unsetMethods()
           
 void unsetName()
           
 void unsetValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Name

protected String _Name

_Branch

protected BranchType _Branch

_CoveredLines

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

_Methods

protected MethodsType _Methods

_File

protected FileType _File

_Valid

protected ValidType _Valid

_Line

protected LineType _Line

version

public static final Class version
Constructor Detail

ClassTypeImpl

public ClassTypeImpl()
Method Detail

getName

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

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

setName

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

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

isSetName

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

unsetName

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

getBranch

public BranchType getBranch()
Description copied from interface: ClassType
Gets the value of the branch property.

Specified by:
getBranch in interface ClassType
Returns:
possible object is Branch BranchType

setBranch

public void setBranch(BranchType value)
Description copied from interface: ClassType
Sets the value of the branch property.

Specified by:
setBranch in interface ClassType
Parameters:
value - allowed object is Branch BranchType

isSetBranch

public boolean isSetBranch()
Specified by:
isSetBranch in interface ClassType

unsetBranch

public void unsetBranch()
Specified by:
unsetBranch in interface ClassType

_getCoveredLines

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

getCoveredLines

public List getCoveredLines()
Description copied from interface: ClassType
Gets the value of the CoveredLines 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 CoveredLines property.

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

    getCoveredLines().add(newItem);
 

Objects of the following type(s) are allowed in the list LineType Line

Specified by:
getCoveredLines in interface ClassType

isSetCoveredLines

public boolean isSetCoveredLines()
Specified by:
isSetCoveredLines in interface ClassType

unsetCoveredLines

public void unsetCoveredLines()
Specified by:
unsetCoveredLines in interface ClassType

getMethods

public MethodsType getMethods()
Description copied from interface: ClassType
Gets the value of the methods property.

Specified by:
getMethods in interface ClassType
Returns:
possible object is Methods MethodsType

setMethods

public void setMethods(MethodsType value)
Description copied from interface: ClassType
Sets the value of the methods property.

Specified by:
setMethods in interface ClassType
Parameters:
value - allowed object is Methods MethodsType

isSetMethods

public boolean isSetMethods()
Specified by:
isSetMethods in interface ClassType

unsetMethods

public void unsetMethods()
Specified by:
unsetMethods in interface ClassType

getFile

public FileType getFile()
Description copied from interface: ClassType
Gets the value of the file property.

Specified by:
getFile in interface ClassType
Returns:
possible object is FileType File

setFile

public void setFile(FileType value)
Description copied from interface: ClassType
Sets the value of the file property.

Specified by:
setFile in interface ClassType
Parameters:
value - allowed object is FileType File

isSetFile

public boolean isSetFile()
Specified by:
isSetFile in interface ClassType

unsetFile

public void unsetFile()
Specified by:
unsetFile in interface ClassType

getValid

public ValidType getValid()
Description copied from interface: ClassType
Gets the value of the valid property.

Specified by:
getValid in interface ClassType
Returns:
possible object is ValidType Valid

setValid

public void setValid(ValidType value)
Description copied from interface: ClassType
Sets the value of the valid property.

Specified by:
setValid in interface ClassType
Parameters:
value - allowed object is ValidType Valid

isSetValid

public boolean isSetValid()
Specified by:
isSetValid in interface ClassType

unsetValid

public void unsetValid()
Specified by:
unsetValid in interface ClassType

getLine

public LineType getLine()
Description copied from interface: ClassType
Gets the value of the line property.

Specified by:
getLine in interface ClassType
Returns:
possible object is LineType Line

setLine

public void setLine(LineType value)
Description copied from interface: ClassType
Sets the value of the line property.

Specified by:
setLine in interface ClassType
Parameters:
value - allowed object is LineType Line

isSetLine

public boolean isSetLine()
Specified by:
isSetLine in interface ClassType

unsetLine

public void unsetLine()
Specified by:
unsetLine in interface ClassType

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.