Class FlatTokenRepresentativeConcept

    • Constructor Detail

      • FlatTokenRepresentativeConcept

        public FlatTokenRepresentativeConcept​(CompositeEntity ontology,
                                              java.lang.String name)
                                       throws NameDuplicationException,
                                              IllegalActionException
        Create a new FlatTokenRepresentativeConcept with the specified name and ontology.
        Parameters:
        ontology - The specified ontology where this concept resides.
        name - The specified name for the concept.
        Throws:
        NameDuplicationException - If the ontology already contains a concept with the specified name.
        IllegalActionException - If the base class throws it.
    • Method Detail

      • containsThisInfiniteConceptString

        public boolean containsThisInfiniteConceptString​(java.lang.String infiniteConceptString)
        Return true if the string can represent a FlatTokenInfiniteConcept for this representative, false otherwise.
        Specified by:
        containsThisInfiniteConceptString in class InfiniteConceptRepresentative
        Parameters:
        infiniteConceptString - The string that represents the infinite concept.
        Returns:
        true if the string can represent an infinite concept for this representative, false otherwise.
      • getFlatTokenInfiniteConceptByToken

        public FlatTokenInfiniteConcept getFlatTokenInfiniteConceptByToken​(Token tokenValue)
                                                                    throws IllegalActionException
        Return the FlatTokenInfiniteConcept with the given token that is contained by this representative. If the FlatTokenInfiniteConcept has already been instantiated, return it. If not, instantiate a new FlatTokenInfiniteConcept with the given token and return it.
        Parameters:
        tokenValue - The token value that is used to get a FlatTokenInfiniteConcept.
        Returns:
        The FlatTokenInfiniteConcept that has the given token and this representative.
        Throws:
        IllegalActionException - Thrown if there is an error finding or creating the FlatTokenInfiniteConcept from the given token.
      • _instantiateFlatTokenInfiniteConcept

        protected FlatTokenInfiniteConcept _instantiateFlatTokenInfiniteConcept​(Token tokenValue)
                                                                         throws IllegalActionException
        Return a new FlatTokenInfiniteConcept for this representative with the given token value.
        Parameters:
        tokenValue - The token value for the FlatTokenInfiniteConcept to be instantiated.
        Returns:
        A new FlatTokenInfiniteConcept
        Throws:
        IllegalActionException - Thrown if the FlatTokenInfiniteConcept cannot be created.