Package com._1c.g5.v8.derived.context
Class PartBasedContainmentContext
- java.lang.Object
- 
- com._1c.g5.v8.derived.context.PartBasedContainmentContext
 
- 
- All Implemented Interfaces:
- IPartBasedObjectContext
 - Direct Known Subclasses:
- FormExtContainmentContext,- ModelUpdaterContainmentContext
 
 public class PartBasedContainmentContext extends Object implements IPartBasedObjectContext Part of thePartBasedObjectContextdefining the DD computation context for containment objects.
- 
- 
Constructor SummaryConstructors Constructor Description PartBasedContainmentContext(long bmObjectId, org.eclipse.emf.ecore.EClass eClass)Creates new instance of the part-based context for the containment object.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddParts(String... parts)TODO JavaDocvoidaddParts(Collection<String> parts)Adds new DD parts (with replacing) for this context.longgetBmObjectId()Gets the identifier of the associated containment BM object.org.eclipse.emf.ecore.EClassgetEClass()Gets aEClassof a target objectSet<String>getParts()Gets the set of DD parts being collected within this context.
 
- 
- 
- 
Constructor Detail- 
PartBasedContainmentContextpublic PartBasedContainmentContext(long bmObjectId, org.eclipse.emf.ecore.EClass eClass)Creates new instance of the part-based context for the containment object.- Parameters:
- bmObjectId- The identifier of the target containment BM object.
- eClass-- EClassof a target containment BM object. May not be- null
 
 
- 
 - 
Method Detail- 
addPartspublic void addParts(Collection<String> parts) Adds new DD parts (with replacing) for this context.- Parameters:
- parts- The set of DD parts that should be updated for the containment object.
 
 - 
addPartspublic void addParts(String... parts) TODO JavaDoc- Parameters:
- parts-
 
 - 
getBmObjectIdpublic long getBmObjectId() Gets the identifier of the associated containment BM object.- Returns:
- The identifier of the containment object.
 
 - 
getEClasspublic org.eclipse.emf.ecore.EClass getEClass() Gets aEClassof a target object- Returns:
- The target object EClass. May not benull
 
 - 
getPartspublic Set<String> getParts() Description copied from interface:IPartBasedObjectContextGets the set of DD parts being collected within this context.- Specified by:
- getPartsin interface- IPartBasedObjectContext
- Returns:
- The set of DD parts scheduled for the re-computation.
 
 
- 
 
-