Package org.hibernate.boot.jaxb.mapping
Class JaxbHbmAnyDiscriminatorValueMapping
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbHbmAnyDiscriminatorValueMapping
-
- All Implemented Interfaces:
Serializable
,DiscriminatorMapping
public class JaxbHbmAnyDiscriminatorValueMapping extends Object implements Serializable, DiscriminatorMapping
Maps a discriminator value to its corresponding entity name. E.g.:com.acme.Employee Java class for hbm-any-discriminator-value-mapping complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="hbm-any-discriminator-value-mapping"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </simpleContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
correspondingEntityName
protected String
discriminatorValue
-
Constructor Summary
Constructors Constructor Description JaxbHbmAnyDiscriminatorValueMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCorrespondingEntityName()
Gets the value of the correspondingEntityName property.String
getDiscriminatorValue()
Gets the value of the discriminatorValue property.void
setCorrespondingEntityName(String value)
Sets the value of the correspondingEntityName property.void
setDiscriminatorValue(String value)
Sets the value of the discriminatorValue property.
-
-
-
Method Detail
-
getCorrespondingEntityName
public String getCorrespondingEntityName()
Gets the value of the correspondingEntityName property.- Specified by:
getCorrespondingEntityName
in interfaceDiscriminatorMapping
- Returns:
- possible object is
String
-
setCorrespondingEntityName
public void setCorrespondingEntityName(String value)
Sets the value of the correspondingEntityName property.- Parameters:
value
- allowed object isString
-
getDiscriminatorValue
public String getDiscriminatorValue()
Gets the value of the discriminatorValue property.- Specified by:
getDiscriminatorValue
in interfaceDiscriminatorMapping
- Returns:
- possible object is
String
-
-