Class BaseDimensionRepresentativeConcept

  • All Implemented Interfaces:
    java.lang.Cloneable, InequalityTerm, Changeable, Debuggable, DebugListener, Derivable, Flowable, Instantiable, ModelErrorHandler, MoMLExportable, Moveable, Nameable
    Direct Known Subclasses:
    SIBaseDimensionRepresentativeConcept

    public class BaseDimensionRepresentativeConcept
    extends DimensionRepresentativeConcept
    A representative concept in the unitSystem ontology for a set of units for a specific physical dimension that is one of the 7 base dimensions. There are 7 base dimensions from which all other unit dimensions are derived. These can be specified in a units system ontology by 7 BaseUnitRepresentativeConcepts:
    • Mass - SI unit kilograms (kg)
    • Position - SI unit meters (m)
    • Time - SI unit seconds (sec)
    • Current - SI unit amperes (amp)
    • Temperature - SI unit Kelvin (K)
    • Amount of substance - SI unit moles (mol)
    • Intensity of light - SI unit candela (cd)
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Charles Shelton
    See Also:
    BaseUnitConcept
    Pt.AcceptedRating:
    Red (cshelton)
    Pt.ProposedRating:
    Red (cshelton)
    • Constructor Detail

      • BaseDimensionRepresentativeConcept

        public BaseDimensionRepresentativeConcept​(CompositeEntity ontology,
                                                  java.lang.String name)
                                           throws NameDuplicationException,
                                                  IllegalActionException
        Create a new BaseUnitRepresentativeConcept 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

      • _createInfiniteConceptInstance

        protected BaseUnitConcept _createInfiniteConceptInstance​(java.lang.String infiniteConceptString)
                                                          throws IllegalActionException
        Return a BaseUnitConcept instance from the given concept string representation. The string must represent one of the units specified for this physical dimension.
        Specified by:
        _createInfiniteConceptInstance in class DimensionRepresentativeConcept
        Parameters:
        infiniteConceptString - The string that represents the unit concept to be returned.
        Returns:
        The BaseUnitConcept represented by the given string.
        Throws:
        IllegalActionException - Thrown if there is a problem creating the unit concept.