public void useCollectionClassName(String concreteContainerClassName) { this.setContainerPolicy(new CollectionContainerPolicy(concreteContainerClassName)); }
public void useListClassName(String concreteContainerClassName) { this.setContainerPolicy(new ListContainerPolicy(concreteContainerClassName)); }
/** * PUBLIC: * Configure the mapping to use an instance of the specified container class * to hold the target objects. * <p>jdk1.2.x: The container class must implement (directly or indirectly) the Collection interface. * <p>jdk1.1.x: The container class must be a subclass of Vector. */ public void useCollectionClass(Class concreteContainerClass) { this.setContainerPolicy(ContainerPolicy.buildPolicyFor(concreteContainerClass)); }
/** * PUBLIC: * Configure the mapping to use an instance of the specified container class * to hold the target objects. * <p>jdk1.2.x: The container class must implement (directly or indirectly) the Collection interface. * <p>jdk1.1.x: The container class must be a subclass of Vector. */ public void useCollectionClass(Class concreteContainerClass) { this.setContainerPolicy(ContainerPolicy.buildPolicyFor(concreteContainerClass)); }
/** * PUBLIC: * Configure the mapping to use an instance of the specified container class * to hold the target objects. * <p>jdk1.2.x: The container class must implement (directly or indirectly) the Collection interface. * <p>jdk1.1.x: The container class must be a subclass of Vector. */ public void useCollectionClass(Class concreteContainerClass) { this.setContainerPolicy(ContainerPolicy.buildPolicyFor(concreteContainerClass)); }
public void useCollectionClassName(String concreteContainerClassName) { this.setContainerPolicy(new CollectionContainerPolicy(concreteContainerClassName)); }
public void useListClassName(String concreteContainerClassName) { this.setContainerPolicy(new ListContainerPolicy(concreteContainerClassName)); }
public Object clone() { // Bug 3037701 - clone the AttributeAccessor XMLAnyCollectionMapping mapping = null; mapping = (XMLAnyCollectionMapping) super.clone(); mapping.setContainerPolicy(this.getContainerPolicy()); mapping.setField(this.getField()); return mapping; }
public Object clone() { // Bug 3037701 - clone the AttributeAccessor XMLAnyCollectionMapping mapping = null; mapping = (XMLAnyCollectionMapping) super.clone(); mapping.setContainerPolicy(this.getContainerPolicy()); mapping.setField(this.getField()); return mapping; }
public Object clone() { // Bug 3037701 - clone the AttributeAccessor XMLAnyCollectionMapping mapping = null; mapping = (XMLAnyCollectionMapping) super.clone(); mapping.setContainerPolicy(this.getContainerPolicy()); mapping.setField(this.getField()); return mapping; }
public Object clone() { // Bug 3037701 - clone the AttributeAccessor XMLAnyCollectionMapping mapping = null; mapping = (XMLAnyCollectionMapping) super.clone(); mapping.setContainerPolicy(this.getContainerPolicy()); mapping.setField(this.getField()); return mapping; }
public Object clone() { // Bug 3037701 - clone the AttributeAccessor XMLAnyCollectionMapping mapping = null; mapping = (XMLAnyCollectionMapping) super.clone(); mapping.setContainerPolicy(this.getContainerPolicy()); mapping.setField(this.getField()); return mapping; }
public Object clone() { // Bug 3037701 - clone the AttributeAccessor XMLAnyCollectionMapping mapping = null; mapping = (XMLAnyCollectionMapping) super.clone(); mapping.setContainerPolicy(this.getContainerPolicy()); mapping.setField(this.getField()); return mapping; }
((XMLAnyCollectionMapping)nextMapping).setContainerPolicy(getContainerPolicy()); if(converter != null && converter instanceof XMLConverter) { ((XMLAnyCollectionMapping)nextMapping).setConverter((XMLConverter)converter);
((XMLAnyCollectionMapping)nextMapping).setContainerPolicy(getContainerPolicy()); if(converter != null && converter instanceof XMLConverter) { ((XMLAnyCollectionMapping)nextMapping).setConverter((XMLConverter)converter);