public abstract class MappingTools
extends java.lang.Object
| Constructor and Description |
|---|
MappingTools() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
createComponentPrefix(java.lang.String componentName) |
static java.lang.String |
createToOneRelationPrefix(java.lang.String referencePropertyName) |
static java.lang.String |
getReferencedEntityName(Value value) |
static boolean |
ignoreNotFound(Value value) |
public static java.lang.String createComponentPrefix(java.lang.String componentName)
componentName - Name of the component, that is, name of the property in the entity that references the component.public static java.lang.String createToOneRelationPrefix(java.lang.String referencePropertyName)
referencePropertyName - The name of the property that holds the relation to the entity.public static java.lang.String getReferencedEntityName(Value value)
public static boolean ignoreNotFound(Value value)
value - Persistent property.false if lack of associated entity shall raise an exception, true otherwise.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.