org.jcoderz.phoenix.cpd.jaxb.impl
Class DuplicationTypeImpl

java.lang.Object
  extended by org.jcoderz.phoenix.cpd.jaxb.impl.DuplicationTypeImpl
All Implemented Interfaces:
com.sun.xml.bind.JAXBObject, Serializable, DuplicationType, UnmarshallableObject, ValidatableObject, XMLSerializable
Direct Known Subclasses:
DuplicationImpl

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

See Also:
Serialized Form

Nested Class Summary
 class DuplicationTypeImpl.Unmarshaller
           
 
Field Summary
protected  String _Codefragment
           
protected  com.sun.xml.bind.util.ListImpl _File
           
protected  int _Lines
           
protected  int _Tokens
           
protected  boolean has_Lines
           
protected  boolean has_Tokens
           
static Class version
           
 
Constructor Summary
DuplicationTypeImpl()
           
 
Method Summary
protected  com.sun.xml.bind.util.ListImpl _getFile()
           
 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 getCodefragment()
          Gets the value of the codefragment property.
 List getFile()
          Gets the value of the File property.
 int getLines()
          Gets the value of the lines property.
 Class getPrimaryInterface()
          Gets the main interface that this object implements.
 int getTokens()
          Gets the value of the tokens property.
 boolean isSetCodefragment()
           
 boolean isSetFile()
           
 boolean isSetLines()
           
 boolean isSetTokens()
           
 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 setCodefragment(String value)
          Sets the value of the codefragment property.
 void setLines(int value)
          Sets the value of the lines property.
 void setTokens(int value)
          Sets the value of the tokens property.
 void unsetCodefragment()
           
 void unsetFile()
           
 void unsetLines()
           
 void unsetTokens()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

has_Lines

protected boolean has_Lines

_Lines

protected int _Lines

_File

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

has_Tokens

protected boolean has_Tokens

_Tokens

protected int _Tokens

_Codefragment

protected String _Codefragment

version

public static final Class version
Constructor Detail

DuplicationTypeImpl

public DuplicationTypeImpl()
Method Detail

getLines

public int getLines()
Description copied from interface: DuplicationType
Gets the value of the lines property.

Specified by:
getLines in interface DuplicationType

setLines

public void setLines(int value)
Description copied from interface: DuplicationType
Sets the value of the lines property.

Specified by:
setLines in interface DuplicationType

isSetLines

public boolean isSetLines()
Specified by:
isSetLines in interface DuplicationType

unsetLines

public void unsetLines()
Specified by:
unsetLines in interface DuplicationType

_getFile

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

getFile

public List getFile()
Description copied from interface: DuplicationType
Gets the value of the File 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 File property.

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

    getFile().add(newItem);
 

Objects of the following type(s) are allowed in the list FileType File

Specified by:
getFile in interface DuplicationType

isSetFile

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

unsetFile

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

getTokens

public int getTokens()
Description copied from interface: DuplicationType
Gets the value of the tokens property.

Specified by:
getTokens in interface DuplicationType

setTokens

public void setTokens(int value)
Description copied from interface: DuplicationType
Sets the value of the tokens property.

Specified by:
setTokens in interface DuplicationType

isSetTokens

public boolean isSetTokens()
Specified by:
isSetTokens in interface DuplicationType

unsetTokens

public void unsetTokens()
Specified by:
unsetTokens in interface DuplicationType

getCodefragment

public String getCodefragment()
Description copied from interface: DuplicationType
Gets the value of the codefragment property.

Specified by:
getCodefragment in interface DuplicationType
Returns:
possible object is String

setCodefragment

public void setCodefragment(String value)
Description copied from interface: DuplicationType
Sets the value of the codefragment property.

Specified by:
setCodefragment in interface DuplicationType
Parameters:
value - allowed object is String

isSetCodefragment

public boolean isSetCodefragment()
Specified by:
isSetCodefragment in interface DuplicationType

unsetCodefragment

public void unsetCodefragment()
Specified by:
unsetCodefragment in interface DuplicationType

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.