public class RuleType extends Object implements Serializable
Java class for ruleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ruleType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="title">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
</extension>
</simpleContent>
</complexType>
</element>
<element name="description">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
</extension>
</simpleContent>
</complexType>
</element>
<element name="reference" type="{http://www.dpfmanager.org/ProfileChecker}referenceType" maxOccurs="unbounded"/>
<element name="assert" type="{http://www.dpfmanager.org/ProfileChecker}assertType"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="context" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="level" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="error"/>
<enumeration value="critical"/>
<enumeration value="warning"/>
<enumeration value="info"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
RuleType.Description
Java class for anonymous complex type.
|
static class |
RuleType.Title
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected AssertType |
_assert |
protected String |
context |
protected RuleType.Description |
description |
protected boolean |
experimental |
protected String |
id |
protected String |
level |
protected List<ReferenceType> |
reference |
protected RuleType.Title |
title |
| Constructor and Description |
|---|
RuleType() |
| Modifier and Type | Method and Description |
|---|---|
AssertType |
getAssert()
Gets the value of the assert property.
|
String |
getContext()
Gets the value of the context property.
|
RuleType.Description |
getDescription()
Gets the value of the description property.
|
boolean |
getExperimental()
Gets the value of the experimental property.
|
String |
getId()
Gets the value of the id property.
|
String |
getLevel()
Gets the value of the level property.
|
List<ReferenceType> |
getReference()
Gets the value of the reference property.
|
String |
getReferenceText() |
RuleType.Title |
getTitle()
Gets the value of the title property.
|
boolean |
isCritical() |
boolean |
isError() |
boolean |
isInfo() |
boolean |
isWarning() |
void |
setAssert(AssertType value)
Sets the value of the assert property.
|
void |
setContext(String value)
Sets the value of the context property.
|
void |
setDescription(RuleType.Description value)
Sets the value of the description property.
|
void |
setExperimental(boolean experimental)
Sets the value of the experimental property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLevel(String value)
Sets the value of the level property.
|
void |
setTitle(RuleType.Title value)
Sets the value of the title property.
|
protected RuleType.Title title
protected RuleType.Description description
protected List<ReferenceType> reference
protected AssertType _assert
protected String id
protected String context
protected String level
protected boolean experimental
public boolean isCritical()
public boolean isWarning()
public boolean isError()
public boolean isInfo()
public RuleType.Title getTitle()
RuleType.Titlepublic void setTitle(RuleType.Title value)
value - allowed object is
RuleType.Titlepublic boolean getExperimental()
public void setExperimental(boolean experimental)
public RuleType.Description getDescription()
RuleType.Descriptionpublic void setDescription(RuleType.Description value)
value - allowed object is
RuleType.Descriptionpublic List<ReferenceType> getReference()
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 reference property.
For example, to add a new item, do as follows:
getReference().add(newItem);
Objects of the following type(s) are allowed in the list
ReferenceType
public String getReferenceText()
public AssertType getAssert()
AssertTypepublic void setAssert(AssertType value)
value - allowed object is
AssertTypepublic void setId(String value)
value - allowed object is
Stringpublic String getContext()
Stringpublic void setContext(String value)
value - allowed object is
Stringpublic String getLevel()
StringCopyright © 2016–2020. All rights reserved.