public class MappingTools extends Object
| Constructor and Description |
|---|
MappingTools() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createComponentPrefix(String componentName) |
static String |
createToOneRelationPrefix(String referencePropertyName) |
static String |
getReferencedEntityName(Value value) |
public static String createComponentPrefix(String componentName)
componentName - Name of the component, that is, name of the property in the entity that references the
component.public static String createToOneRelationPrefix(String referencePropertyName)
referencePropertyName - The name of the property that holds the relation to the entity.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.