DefaultIssue Class
- public class DefaultIssue
extends Object
implements Issue
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\
-
Hierarchy
-
Object
DefaultIssue
-
All Implemented Interfaces
-
Issue
-
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.
|
-
DefaultIssue(
String description, String prescription)
- Creates a new DefaultIssue instance as an error, using the specified
description and prescription.
|
-
DefaultIssue(
String description)
- Creates a new DefaultIssue instance as an error, using the specified
description.
|
public String |
-
getDescription ()
- Returns to the IDE a description of this issue.
|
public String |
-
getPrescription ()
- Returns to the IDE a prescription for handling
this issue.
|
public boolean |
-
isError ()
- Notifies the IDE whether or not this issue is an error.
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultIssue
public 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.
DefaultIssue
public DefaultIssue(String
description,
String
prescription)
- Creates a new DefaultIssue instance as an error, using the specified
description and prescription.
DefaultIssue
public DefaultIssue(String
description)
- Creates a new DefaultIssue instance as an error, using the specified
description.
getDescription() Method
public String
getDescription()
Returns to the IDE a description of this issue.
This is the value specified in this instance's constructor.
Returns
- A description of the current issue.
getPrescription() Method
public String
getPrescription()
Returns to the IDE a prescription for handling
this issue. This is the value specified in this
instance's constructor.
Returns
- A message describing how this issue can be
solved or avoided.
isError() Method
public boolean isError()
Notifies the IDE whether or not this issue is an error.
This is the value specified in this instance's constructor.
Returns
true
if this issue is an error;
false
if it isn't.