Class JaxbAnyDiscriminatorValueMappingImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbAnyDiscriminatorValueMappingImpl
- All Implemented Interfaces:
Serializable
,JaxbDiscriminatorMapping
public class JaxbAnyDiscriminatorValueMappingImpl
extends Object
implements Serializable, JaxbDiscriminatorMapping
Maps a discriminator value to its corresponding entity name. E.g.:
com.acme.Employee
Java class for any-discriminator-value-mapping complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="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.void
setCorrespondingEntityName
(String value) Sets the value of the correspondingEntityName property.void
setDiscriminatorValue
(String value) Sets the value of the discriminatorValue property.
-
Field Details
-
correspondingEntityName
-
discriminatorValue
-
-
Constructor Details
-
JaxbAnyDiscriminatorValueMappingImpl
public JaxbAnyDiscriminatorValueMappingImpl()
-
-
Method Details
-
getCorrespondingEntityName
Gets the value of the correspondingEntityName property.- Specified by:
getCorrespondingEntityName
in interfaceJaxbDiscriminatorMapping
- 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:
getDiscriminatorValue
in interfaceJaxbDiscriminatorMapping
- Returns:
- possible object is
String
-
setDiscriminatorValue
Sets the value of the discriminatorValue property.- Parameters:
value
- allowed object isString
-