|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
|---|
int getLines()
void setLines(int value)
boolean isSetLines()
void unsetLines()
List getFile()
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
boolean isSetFile()
void unsetFile()
int getTokens()
void setTokens(int value)
boolean isSetTokens()
void unsetTokens()
String getCodefragment()
Stringvoid setCodefragment(String value)
value - allowed object is
Stringboolean isSetCodefragment()
void unsetCodefragment()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||