public class ReferenceResolver extends Object
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
STANDARD_DATA_TYPE_URLS_BY_UUID |
static Map<String,String> |
STANDARD_DATA_TYPE_URLS_TO_NAMES |
static Map<String,String> |
STANDARD_DATA_TYPE_UUIDS_BY_NAMES |
| Constructor and Description |
|---|
ReferenceResolver() |
| Modifier and Type | Method and Description |
|---|---|
org.modeshape.sequencer.teiid.model.ReferenceResolver.UnresolvedReference |
addUnresolvedReference(String xmiUuid) |
Map<String,org.modeshape.sequencer.teiid.model.ReferenceResolver.UnresolvedReference> |
getUnresolved() |
boolean |
isReference(String value) |
void |
record(String xmiUuid,
Node node) |
void |
resolved(org.modeshape.sequencer.teiid.model.ReferenceResolver.UnresolvedReference unresolved) |
String |
resolveInternalReference(String proposedUuid) |
public static final Map<String,String> STANDARD_DATA_TYPE_URLS_BY_UUID
public static final Map<String,String> STANDARD_DATA_TYPE_URLS_TO_NAMES
public org.modeshape.sequencer.teiid.model.ReferenceResolver.UnresolvedReference addUnresolvedReference(String xmiUuid) throws Exception
xmiUuid - the UUID of the model object whose node has not been created (cannot be null)null)Exception - if a node for the specified UUID does existpublic Map<String,org.modeshape.sequencer.teiid.model.ReferenceResolver.UnresolvedReference> getUnresolved()
null)public boolean isReference(String value)
value - the value being checked to see if it is a reference (cannot be null or empty)true if value is a referencepublic void record(String xmiUuid, Node node)
xmiUuid - the UUID associated with the node being registered (cannot be null or empty)node - the node being registered (cannot be null)public void resolved(org.modeshape.sequencer.teiid.model.ReferenceResolver.UnresolvedReference unresolved)
unresolved - the unresolved reference being marked as resolved (cannot be null)Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.