Package org.omg.space.xtce
Class TriggerSetType
- java.lang.Object
-
- org.omg.space.xtce.TriggerSetType
-
public class TriggerSetType extends Object
A trigger is used to initiate the processing of some algorithm. A trigger may be based on an update of a Parameter or on a time basis. Triggers may also have a rate that limits their firing to a 1/rate basis.Java class for TriggerSetType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TriggerSetType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <element name="OnParameterUpdateTrigger"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="parameterRef" use="required" type="{http://www.omg.org/space/xtce}NameReferenceType" /> </restriction> </complexContent> </complexType> </element> <element name="OnContainerUpdateTrigger"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="containerRef" use="required" type="{http://www.omg.org/space/xtce}NameReferenceType" /> </restriction> </complexContent> </complexType> </element> <element name="OnPeriodicRateTrigger"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="fireRateInSeconds" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" /> </restriction> </complexContent> </complexType> </element> </choice> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="triggerRate" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" default="1" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTriggerSetType.OnContainerUpdateTriggerJava class for anonymous complex type.static classTriggerSetType.OnParameterUpdateTriggerJava class for anonymous complex type.static classTriggerSetType.OnPeriodicRateTriggerJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Stringnameprotected List<Object>onParameterUpdateTriggerOrOnContainerUpdateTriggerOrOnPeriodicRateTriggerprotected BigIntegertriggerRate
-
Constructor Summary
Constructors Constructor Description TriggerSetType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the value of the name property.List<Object>getOnParameterUpdateTriggerOrOnContainerUpdateTriggerOrOnPeriodicRateTrigger()Gets the value of the onParameterUpdateTriggerOrOnContainerUpdateTriggerOrOnPeriodicRateTrigger property.BigIntegergetTriggerRate()Gets the value of the triggerRate property.voidsetName(String value)Sets the value of the name property.voidsetTriggerRate(BigInteger value)Sets the value of the triggerRate property.
-
-
-
Field Detail
-
onParameterUpdateTriggerOrOnContainerUpdateTriggerOrOnPeriodicRateTrigger
protected List<Object> onParameterUpdateTriggerOrOnContainerUpdateTriggerOrOnPeriodicRateTrigger
-
name
protected String name
-
triggerRate
protected BigInteger triggerRate
-
-
Method Detail
-
getOnParameterUpdateTriggerOrOnContainerUpdateTriggerOrOnPeriodicRateTrigger
public List<Object> getOnParameterUpdateTriggerOrOnContainerUpdateTriggerOrOnPeriodicRateTrigger()
Gets the value of the onParameterUpdateTriggerOrOnContainerUpdateTriggerOrOnPeriodicRateTrigger property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the onParameterUpdateTriggerOrOnContainerUpdateTriggerOrOnPeriodicRateTrigger property.For example, to add a new item, do as follows:
getOnParameterUpdateTriggerOrOnContainerUpdateTriggerOrOnPeriodicRateTrigger().add(newItem);Objects of the following type(s) are allowed in the list
TriggerSetType.OnContainerUpdateTriggerTriggerSetType.OnParameterUpdateTriggerTriggerSetType.OnPeriodicRateTrigger
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getTriggerRate
public BigInteger getTriggerRate()
Gets the value of the triggerRate property.- Returns:
- possible object is
BigInteger
-
setTriggerRate
public void setTriggerRate(BigInteger value)
Sets the value of the triggerRate property.- Parameters:
value- allowed object isBigInteger
-
-