Class IORTemplateImpl
- All Implemented Interfaces:
IORFactory, IORTemplate, MakeImmutable, Writeable, Iterable<TaggedProfileTemplate>, Collection<TaggedProfileTemplate>, List<TaggedProfileTemplate>
public class IORTemplateImpl
extends IdentifiableContainerBase<TaggedProfileTemplate>
implements IORTemplate
This class is a container of TaggedProfileTemplates.
-
Field Summary
FieldsFields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisEquivalent(IORFactory other) Return true iff this.makeIOR(orb,typeid,oid).isEquivalent( other.makeIOR(orb,typeid,oid) for all orb, typeid, and oid.voidEnsure that this IORTemplate and all of its profiles can not be modified.Construct an IOR containing the given ORB, typeid, and ObjectId.toString()voidwrite(OutputStream os) Write this object directly to the output stream.Methods inherited from class IdentifiableContainerBase
iteratorByIdMethods inherited from class FreezableList
add, get, isImmutable, makeElementsImmutable, remove, set, size, subListMethods inherited from class AbstractList
add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRangeMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from interface Collection
parallelStream, removeIf, streamMethods inherited from interface IORTemplate
iteratorByIdMethods inherited from interface List
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
oktemp
-
-
Constructor Details
-
IORTemplateImpl
-
IORTemplateImpl
-
-
Method Details
-
toString
- Overrides:
toStringin classAbstractCollection<TaggedProfileTemplate>
-
equals
- Specified by:
equalsin interfaceCollection<TaggedProfileTemplate>- Specified by:
equalsin interfaceList<TaggedProfileTemplate>- Overrides:
equalsin classFreezableList<TaggedProfileTemplate>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<TaggedProfileTemplate>- Specified by:
hashCodein interfaceList<TaggedProfileTemplate>- Overrides:
hashCodein classFreezableList<TaggedProfileTemplate>
-
getObjectKeyTemplate
- Specified by:
getObjectKeyTemplatein interfaceIORTemplate
-
makeIOR
Description copied from interface:IORFactoryConstruct an IOR containing the given ORB, typeid, and ObjectId. The same ObjectId will be used for all TaggedProfileTemplates in the IORFactory.- Specified by:
makeIORin interfaceIORFactory- Parameters:
orb- ORB to usetypeid- typeid of IORoid- objectId IOR- Returns:
- created IOR
-
isEquivalent
Description copied from interface:IORFactoryReturn true iff this.makeIOR(orb,typeid,oid).isEquivalent( other.makeIOR(orb,typeid,oid) for all orb, typeid, and oid.- Specified by:
isEquivalentin interfaceIORFactory- Parameters:
other- factory to compare with- Returns:
- true if they are equivalent
-
makeImmutable
public void makeImmutable()Ensure that this IORTemplate and all of its profiles can not be modified. This overrides the method inherited from FreezableList through IdentifiableContainerBase.- Specified by:
makeImmutablein interfaceMakeImmutable- Overrides:
makeImmutablein classFreezableList<TaggedProfileTemplate>
-
write
Description copied from interface:WriteableWrite this object directly to the output stream.
-