public class OrderedSetType extends SetType
UNFETCHED_COLLECTION
LEGACY_DEFAULT_SIZE, LEGACY_DICTATED_SIZE
Constructor and Description |
---|
OrderedSetType(TypeFactory.TypeScope typeScope,
String role,
String propertyRef,
boolean isEmbeddedInXML)
Constructs a set type capable of creating ordered sets 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.
|
getReturnedClass, instantiate, wrap
assemble, compare, contains, deepCopy, defaultSizes, dictatedSizes, disassemble, fromXMLNode, getAssociatedEntityName, getAssociatedJoinable, getCollection, getColumnSpan, getElementsIterator, getElementsIterator, getElementType, getForeignKeyDirection, getHashCode, getIdOfOwnerOrNull, getKeyOfOwner, getLHSPropertyName, getName, getOnCondition, getRHSUniqueKeyPropertyName, getRole, hasHolder, hydrate, indexOf, initializeImmediately, instantiateResult, isAlwaysDirtyChecked, isArrayType, isAssociationType, isCollectionType, isDirty, isDirty, isEmbeddedInXML, isEqual, isModified, isMutable, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, renderLoggableString, replace, replaceElements, 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 OrderedSetType(TypeFactory.TypeScope typeScope, String role, String propertyRef, boolean isEmbeddedInXML)
typeScope
- The scope for this type instance.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 SetType
anticipatedSize
- The anticipated size of the instaniated collection
after we are done populating it.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.