|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.control.DefaultIssue
public class DefaultIssue
The DefaultIssue class provides a simple implementation of the Issue interface. Use this class
as an alternative to implementing the Issue interface in your
own class. Use this class for writing custom validators for controls.
Note: The DefaultIssue class is provided as part of the WebLogic Workshop Control
Development Kit. The Control Development Kit is for users who are
creating advanced controls. It is available in your BEA installation
in the following directory:
BEA_HOME\weblogic81\samples\workshop\ControlDevKit\
Constructor Summary | |
---|---|
DefaultIssue(String description)
Creates a new DefaultIssue instance as an error, using the specified description. |
|
DefaultIssue(String description,
String prescription)
Creates a new DefaultIssue instance as an error, using the specified description and prescription. |
|
DefaultIssue(String description,
String prescription,
boolean isError)
Creates a new DefaultIssue instance using the specified description, prescription, and specifying whether the issue is an error. |
Method Summary | |
---|---|
String |
getDescription()
Returns to the IDE a description of this issue. |
String |
getPrescription()
Returns to the IDE a prescription for handling this issue. |
boolean |
isError()
Notifies the IDE whether or not this issue is an error. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultIssue(String description, String prescription, boolean isError)
description
- A description of the current issue.prescription
- A message describing how this issue can be
solved or avoided.isError
- true
to indicate that this
issue is an error; false
to indicate it isn't.public DefaultIssue(String description, String prescription)
description
- A description of the current issue.prescription
- A message describing how this issue can be
solved or avoided.public DefaultIssue(String description)
description
- A description of the current issue.Method Detail |
---|
public boolean isError()
isError
in interface Issue
true
if this issue is an error;
false
if it isn't.public String getDescription()
getDescription
in interface Issue
public String getPrescription()
getPrescription
in interface Issue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |