Class AggregateValue


  • public class AggregateValue
    extends Value
    • Method Detail

      • setMemberValue

        public void setMemberValue​(String name,
                                   Value value)
      • getMemberValue

        public Value getMemberValue​(String name)
        Returns the value of the member with the given name
        Parameters:
        name - the name of the aggregate member whos value has to be returned
        Returns:
        the value of the member with the given name
        Throws:
        IllegalArgumentException - if there is no member with that name
      • setMemberValue

        public void setMemberValue​(int idx,
                                   Value value)
      • getMemberIndex

        public int getMemberIndex​(String name)
        Get the index of the member with the given name or -1 if there is no such member
        Parameters:
        name -
        Returns:
      • getType

        public org.yamcs.protobuf.Yamcs.Value.Type getType()
        Specified by:
        getType in class Value
      • numMembers

        public int numMembers()
      • getMemberName

        public String getMemberName​(int idx)
      • getMemberValue

        public Value getMemberValue​(int i)