Package org.cip4.jdflib.ifaces
Interface ICapabilityElement
- All Known Implementing Classes:
JDFAbstractState,JDFBooleanState,JDFDateTimeState,JDFDevCap,JDFDevCaps,JDFDurationState,JDFEnumerationState,JDFIntegerState,JDFMatrixState,JDFNameState,JDFNumberState,JDFPDFPathState,JDFRectangleState,JDFShapeState,JDFStringState,JDFXYPairState
public interface ICapabilityElement
interface that connects the devcap classes that implement vapabilities, i.e. state and devcap
-
Method Summary
Modifier and TypeMethodDescriptionappend moduleRef to moduleRefs, if it does not exist, set the availability to module and ensure that the appropriate modulecap existsgetAvailability - gets typesafe enumerated attributeAvailabilityget the ModulePool that contains ModuleCap elements referenced by this create one, if it does not existget the type of evaluation that is appropriate for this ICapabilityElementget the ModulePool that contains ModuleCap elements referenced by thisget VString attribute ModuleRefsvoid
-
Method Details
-
getModulePool
JDFModulePool getModulePool()get the ModulePool that contains ModuleCap elements referenced by this- Returns:
- JDFModulePool the pool
-
getCreateModulePool
JDFModulePool getCreateModulePool()get the ModulePool that contains ModuleCap elements referenced by this create one, if it does not exist- Returns:
- JDFModulePool the pool
-
getModuleRefs
VString getModuleRefs()get VString attribute ModuleRefs- Returns:
- VString the value of the attribute
-
getAvailability
JDFDeviceCap.EnumAvailability getAvailability()getAvailability - gets typesafe enumerated attributeAvailability- Returns:
- EnumAvailability: the enumeration value of the attribute
-
appendModuleRef
append moduleRef to moduleRefs, if it does not exist, set the availability to module and ensure that the appropriate modulecap exists- Parameters:
id-- Returns:
JDFModuleCapthe Modulecap that id refers tp
-
setAvailability
- Parameters:
module-
-
getEvaluationType
JDFTerm.EnumTerm getEvaluationType()get the type of evaluation that is appropriate for this ICapabilityElement- Returns:
- EnumTerm the type of evaluation
-
getNamePathVector
VString getNamePathVector()- Returns:
-