Cross Reference: OWLSValidatorMessage.java
xref
: /
owl-s
/
src
/
org
/
mindswap
/
owls
/
validator
/
OWLSValidatorMessage.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
2
ronwalf
package
org
.
mindswap
.
owls
.
validator
;
2
ronwalf
2
ronwalf
/**
2
ronwalf
* <p>Title: </p>
2
ronwalf
* <p>Description: </p>
2
ronwalf
* <p>Copyright: Copyright (c) 2005</p>
2
ronwalf
* <p>Company: Mindswap (htp://www.mindswap.org)</p>
2
ronwalf
*
@author
Michael Grove
2
ronwalf
*
@version
1.0
2
ronwalf
*/
2
ronwalf
2
ronwalf
public
class
OWLSValidatorMessage
2
ronwalf
{
2
ronwalf
private
int
mCode
;
2
ronwalf
private
String
mMessage
;
2
ronwalf
2
ronwalf
public
OWLSValidatorMessage
(
int
theCode
,
String
theMsg
)
2
ronwalf
{
2
ronwalf
mCode
=
theCode
;
2
ronwalf
mMessage
=
theMsg
;
2
ronwalf
}
2
ronwalf
2
ronwalf
public
int
getCode
() {
2
ronwalf
return
mCode
;
2
ronwalf
}
2
ronwalf
2
ronwalf
public
String
getMessage
() {
2
ronwalf
return
mMessage
;
2
ronwalf
}
2
ronwalf
2
ronwalf
public
String
toString
() {
2
ronwalf
return
getMessage
();
2
ronwalf
}
2
ronwalf
2
ronwalf
// public Service getService() {
2
ronwalf
// return mService;
2
ronwalf
// }
2
ronwalf
}