Class LegacyValidationMessage
- java.lang.Object
-
- com.evolveum.midpoint.common.validator.LegacyValidationMessage
-
public class LegacyValidationMessage extends Object
LEGACY: This is all very old code. And it is XML-only. It will be probably thrown away and re-written in a more reasonable way.- Author:
- semancik
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LegacyValidationMessage.Type
-
Constructor Summary
Constructors Constructor Description LegacyValidationMessage()
LegacyValidationMessage(LegacyValidationMessage.Type type, String message)
LegacyValidationMessage(LegacyValidationMessage.Type type, String message, String oid, String name)
LegacyValidationMessage(LegacyValidationMessage.Type type, String message, String oid, String name, String property)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getMessage()
Get the value of messageString
getName()
String
getOid()
Get the value of oidString
getProperty()
Get the value of propertyLegacyValidationMessage.Type
getType()
Get the value of typeint
hashCode()
void
setMessage(String message)
Set the value of messagevoid
setName(String name)
void
setOid(String oid)
Set the value of oidvoid
setProperty(String property)
Set the value of propertyvoid
setType(LegacyValidationMessage.Type type)
Set the value of typeString
toString()
-
-
-
Field Detail
-
type
public LegacyValidationMessage.Type type
-
oid
public String oid
-
message
public String message
-
property
public String property
-
-
Constructor Detail
-
LegacyValidationMessage
public LegacyValidationMessage()
-
LegacyValidationMessage
public LegacyValidationMessage(LegacyValidationMessage.Type type, String message)
-
LegacyValidationMessage
public LegacyValidationMessage(LegacyValidationMessage.Type type, String message, String oid, String name)
-
LegacyValidationMessage
public LegacyValidationMessage(LegacyValidationMessage.Type type, String message, String oid, String name, String property)
-
-
Method Detail
-
getType
public LegacyValidationMessage.Type getType()
Get the value of type- Returns:
- the value of type
-
setType
public void setType(LegacyValidationMessage.Type type)
Set the value of type- Parameters:
type
- new value of type
-
getMessage
public String getMessage()
Get the value of message- Returns:
- the value of message
-
setMessage
public void setMessage(String message)
Set the value of message- Parameters:
message
- new value of message
-
getName
public String getName()
-
setName
public void setName(String name)
-
getOid
public String getOid()
Get the value of oid- Returns:
- the value of oid
-
setOid
public void setOid(String oid)
Set the value of oid- Parameters:
oid
- new value of oid
-
getProperty
public String getProperty()
Get the value of property- Returns:
- the value of property
-
setProperty
public void setProperty(String property)
Set the value of property- Parameters:
property
- new value of property
-
-