public class VocabularyCache
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BASE |
static int |
LOCALIZED |
static int |
VOCABULARY_NAME_CACHE_ELEMENTS |
static int |
XML |
| Constructor and Description |
|---|
VocabularyCache(IVocabularyModelAPI aIVocabularyModelAPI) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
IAssociationEnd |
findAssociation(java.lang.String astrEntityName,
java.lang.String astrAssociationName,
int aiVocabularyNameCache) |
IAttribute |
findAttribute(java.lang.String astrEntityName,
java.lang.String astrAttributeName,
int aiVocabularyNameCache) |
IEntity |
findEntity(java.lang.String astrEntityName,
int aiVocabularyNameCache) |
java.util.HashSet<IElement> |
getAllApplicableDuplicateComparators(IElement aIElement,
boolean abForDirectDuplicates)
Cache information used for detecting duplicate names in the Vocabulary.
|
int |
getEntityNameCount(IEntity aIEntity,
int aiVocabularyNameCache)
Return the count of the number of times the specified unqualified entity name
appears in the Vocabulary.
|
boolean |
isEmpty()
Return
true if the cache is empty. |
void |
showCache() |
public static final int BASE
public static final int LOCALIZED
public static final int XML
public static final int VOCABULARY_NAME_CACHE_ELEMENTS
public VocabularyCache(IVocabularyModelAPI aIVocabularyModelAPI)
public void dispose()
public IAssociationEnd findAssociation(java.lang.String astrEntityName, java.lang.String astrAssociationName, int aiVocabularyNameCache)
public IAttribute findAttribute(java.lang.String astrEntityName, java.lang.String astrAttributeName, int aiVocabularyNameCache)
public IEntity findEntity(java.lang.String astrEntityName, int aiVocabularyNameCache)
public boolean isEmpty()
true if the cache is empty.true if the cache is empty.public int getEntityNameCount(IEntity aIEntity, int aiVocabularyNameCache)
aiVocabularyNameCache - BASE or LOCALIZED.aIEntity - Entity to test.public void showCache()
public java.util.HashSet<IElement> getAllApplicableDuplicateComparators(IElement aIElement, boolean abForDirectDuplicates)
aIElement - IElement to check.abForDirectDuplicates - true for direct duplicates.Copyright © 2005-2016 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.