public class OrderedMapType extends MapType
UNFETCHED_COLLECTIONLEGACY_DEFAULT_SIZE, LEGACY_DICTATED_SIZE| Constructor and Description |
|---|
OrderedMapType(TypeFactory.TypeScope typeScope,
String role,
String propertyRef,
boolean isEmbeddedInXML)
Constructs a map type capable of creating ordered maps of the given
role.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
instantiate(int anticipatedSize)
Instantiate an empty instance of the "underlying" collection (not a wrapper),
but with the given anticipated size (i.e.
|
getElementsIterator, getReturnedClass, indexOf, instantiate, replaceElements, wrapassemble, compare, contains, deepCopy, defaultSizes, dictatedSizes, disassemble, fromXMLNode, getAssociatedEntityName, getAssociatedJoinable, getCollection, getColumnSpan, getElementsIterator, getElementType, getForeignKeyDirection, getHashCode, getIdOfOwnerOrNull, getKeyOfOwner, getLHSPropertyName, getName, getOnCondition, getRHSUniqueKeyPropertyName, getRole, hasHolder, hydrate, initializeImmediately, instantiateResult, isAlwaysDirtyChecked, isArrayType, isAssociationType, isCollectionType, isDirty, isDirty, isEmbeddedInXML, isEqual, isModified, isMutable, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, renderLoggableString, replace, resolve, semiResolve, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toString, useLHSPrimaryKeybeforeAssemble, getHashCode, getSemiResolvedType, isAnyType, isComponentType, isEntityType, isEqual, isSame, replace, replaceNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbeforeAssemble, getHashCode, getSemiResolvedType, isAnyType, isComponentType, isEntityType, isEqual, isSame, replacepublic OrderedMapType(TypeFactory.TypeScope typeScope, String role, String propertyRef, boolean isEmbeddedInXML)
role - The collection role name.propertyRef - The property ref name.isEmbeddedInXML - Is this collection to embed itself in xmlpublic Object instantiate(int anticipatedSize)
instantiate in class MapTypeanticipatedSize - The anticipated size of the instaniated collection
after we are done populating it.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.