org.jcoderz.phoenix.cpd.jaxb
Interface DuplicationType

All Known Subinterfaces:
Duplication
All Known Implementing Classes:
DuplicationImpl, DuplicationTypeImpl

public interface DuplicationType

Java content class for anonymous complex type.

The following schema fragment specifies the expected content contained within this java content object. (defined at file:/home/fawkez/dev/src/xml/schema/cpd.xsd line 44)

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{}file" maxOccurs="unbounded"/>
         <element ref="{}codefragment"/>
       </sequence>
       <attribute name="lines" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="tokens" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 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.
 int getTokens()
          Gets the value of the tokens property.
 boolean isSetCodefragment()
           
 boolean isSetFile()
           
 boolean isSetLines()
           
 boolean isSetTokens()
           
 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()
           
 

Method Detail

getLines

int getLines()
Gets the value of the lines property.


setLines

void setLines(int value)
Sets the value of the lines property.


isSetLines

boolean isSetLines()

unsetLines

void unsetLines()

getFile

List getFile()
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


isSetFile

boolean isSetFile()

unsetFile

void unsetFile()

getTokens

int getTokens()
Gets the value of the tokens property.


setTokens

void setTokens(int value)
Sets the value of the tokens property.


isSetTokens

boolean isSetTokens()

unsetTokens

void unsetTokens()

getCodefragment

String getCodefragment()
Gets the value of the codefragment property.

Returns:
possible object is String

setCodefragment

void setCodefragment(String value)
Sets the value of the codefragment property.

Parameters:
value - allowed object is String

isSetCodefragment

boolean isSetCodefragment()

unsetCodefragment

void unsetCodefragment()


Copyright 2007 The jCoderZ Project.