public class OrderedMapType extends MapType
UNFETCHED_COLLECTION
LEGACY_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, wrap
assemble, 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, useLHSPrimaryKey
beforeAssemble, getHashCode, getSemiResolvedType, isAnyType, isComponentType, isEntityType, isEqual, isSame, replace, replaceNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
beforeAssemble, getHashCode, getSemiResolvedType, isAnyType, isComponentType, isEntityType, isEqual, isSame, replace
public 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 MapType
anticipatedSize
- The anticipated size of the instaniated collection
after we are done populating it.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.