public class VersionIdentifierAttributeConverter extends AbstractSimpleDatatypeAttributeConverter<VersionIdentifier,String> implements javax.persistence.AttributeConverter<VersionIdentifier,String>
AbstractSimpleDatatypeAttributeConverter
for
VersionIdentifier
.Modifier and Type | Field and Description |
---|---|
private VersionUtil |
versionUtil |
Constructor and Description |
---|
VersionIdentifierAttributeConverter()
The constructor.
|
VersionIdentifierAttributeConverter(VersionUtil versionUtil)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
VersionIdentifier |
convertToEntityAttribute(String value) |
convertToDatabaseColumn
private VersionUtil versionUtil
public VersionIdentifierAttributeConverter()
public VersionIdentifierAttributeConverter(VersionUtil versionUtil)
versionUtil
- is the VersionUtil
to use for creating versions.public VersionIdentifier convertToEntityAttribute(String value)
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<VersionIdentifier,String>
Copyright © 2001–2016 mmm-Team. All rights reserved.