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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the correspondingEntityName property.Gets the value of the discriminatorValue property.voidsetCorrespondingEntityName(String value) Sets the value of the correspondingEntityName property.voidsetDiscriminatorValue(String value) Sets the value of the discriminatorValue property.
-
Field Details
-
correspondingEntityName
-
discriminatorValue
-
-
Constructor Details
-
JaxbHbmAnyDiscriminatorValueMapping
public JaxbHbmAnyDiscriminatorValueMapping()
-
-
Method Details
-
getCorrespondingEntityName
Gets the value of the correspondingEntityName property.- Specified by:
getCorrespondingEntityNamein interfaceDiscriminatorMapping- Returns:
- possible object is
String
-
setCorrespondingEntityName
Sets the value of the correspondingEntityName property.- Parameters:
value- allowed object isString
-
getDiscriminatorValue
Gets the value of the discriminatorValue property.- Specified by:
getDiscriminatorValuein interfaceDiscriminatorMapping- Returns:
- possible object is
String
-
setDiscriminatorValue
Sets the value of the discriminatorValue property.- Parameters:
value- allowed object isString
-