/** * Adds a {@link FunctionDefinition} instance to the listOfFunctionDefinitions * of this {@link Model}. * * @param functionDefinition * @return {@code true} if the {@link #listOfFunctionDefinitions} was * changed as a result of this call. */ public boolean addFunctionDefinition(FunctionDefinition functionDefinition) { return getListOfFunctionDefinitions().add(functionDefinition); }
/** * Adds an {@link UnitDefinition} instance to the * {@link #listOfUnitDefinitions} of this {@link Model}. * * @param unitDefinition * @return {@code true} if the {@link #listOfUnitDefinitions} was changed * as a result of this call. */ public boolean addUnitDefinition(UnitDefinition unitDefinition) { return getListOfUnitDefinitions().add(unitDefinition); }
/** * Adds a new {@link Port} to the listOfPorts. * <p>The listOfPorts is initialized if necessary. * * @param port the element to add to the list * @return {@code true} (as specified by {@link Collection#add}) */ public boolean addPort(Port port) { return getListOfPorts().add(port); }
/** * * @param transition */ public void addTransition(Transition transition) { getListOfTransitions().add(transition); }
/** * Adds a new {@link CoordinateComponent} to the listOfCoordinateComponents. * <p>The listOfCoordinateComponents is initialized if necessary. * * @param coordinateComponents the element to add to the list * @return true (as specified by {@link Collection#add}) */ public boolean addCoordinateComponent(CoordinateComponent coordinateComponents) { return getListOfCoordinateComponents().add(coordinateComponents); }
/** * Adds a new {@link SpeciesFeature} to the {@link #listOfSpeciesFeatures}. * <p>The listOfSpeciesFeatures is initialized if necessary. * * @param speciesFeature the element to add to the list * @return {@code true} (as specified by {@link java.util.Collection#add}) * @see java.util.Collection#add(Object) */ public boolean addSpeciesFeature(SpeciesFeature speciesFeature) { return getListOfSpeciesFeatures().add(speciesFeature); }
/** * Adds a new {@link CSGNode} to the listOfCSGNodes. * <p>The listOfCSGNodes is initialized if necessary. * * @param csgNode the element to add to the list * @return true (as specified by {@link Collection#add}) */ public boolean addCSGNode(CSGNode csgNode) { return getListOfCSGNodes().add(csgNode); }
/** * Adds a new {@link SpeciesTypeInstance} to the {@link #listOfSpeciesTypeInstances}. * <p>The listOfSpeciesTypeInstances is initialized if necessary. * * @param speciesTypeInstance the element to add to the list * @return {@code true} (as specified by {@link java.util.Collection#add}) * @see java.util.Collection#add(Object) */ public boolean addSpeciesTypeInstance(SpeciesTypeInstance speciesTypeInstance) { return getListOfSpeciesTypeInstances().add(speciesTypeInstance); }
/** * Adds an InitialAssignment instance to the listOfInitialAssignments of this * Model. * * @param initialAssignment * @return {@code true} if the {@link #listOfInitialAssignments} was * changed as a result of this call. */ public boolean addInitialAssignment(InitialAssignment initialAssignment) { return getListOfInitialAssignments().add(initialAssignment); }
/** * Adds a Reaction instance to the listOfReactions of this Model. * * @param reaction * @return {@code true} if the {@link #listOfReactions} was changed as a * result of this call. */ public boolean addReaction(Reaction reaction) { return getListOfReactions().add(reaction); }
/** * Adds a new {@link Submodel} to the listOfSubmodels. * <p>The listOfSubmodels is initialized if necessary. * * @param submodel the element to add to the list * @return {@code true} (as specified by {@link Collection#add}) */ public boolean addSubmodel(Submodel submodel) { return getListOfSubmodels().add(submodel); }
/** * Adds a {@link QualitativeSpecies} instance to the listOfSpecies of this Model. * * @param spec * @return {@code true} if the {@link QualitativeSpecies} was added successfully. */ public boolean addSpecies(QualitativeSpecies spec) { return getListOfQualitativeSpecies().add(spec); }
/** * Adds a new {@link GeometryDefinition} to the listOfGeometryDefinitions. * <p>The listOfGeometryDefinitions is initialized if necessary. * * @param geometryDefinition the element to add to the list * @return true (as specified by {@link Collection#add}) */ public boolean addGeometryDefinition(GeometryDefinition geometryDefinition) { return getListOfGeometryDefinitions().add(geometryDefinition); }
/** * Adds a new {@link DomainType} to the listOfDomainTypes. * <p>The listOfDomainTypes is initialized if necessary. * * @param domainType the element to add to the list * @return true (as specified by {@link Collection#add}) */ public boolean addDomainType(DomainType domainType) { return getListOfDomainTypes().add(domainType); }
/** * Adds a new {@link CSGObject} to the listOfCSGObjects. * <p>The listOfCSGObjects is initialized if necessary. * * @param csgo the element to add to the list * @return true (as specified by {@link Collection#add}) */ public boolean addCSGObject(CSGObject csgo) { return getListOfCSGObjects().add(csgo); }
/** * Adds a new {@link AnalyticVolume} to the listOfAnalyticVolumes. * <p>The listOfAnalyticVolumes is initialized if necessary. * * @param analyticVolume the element to add to the list * @return true (as specified by {@link Collection#add}) */ public boolean addAnalyticVolume(AnalyticVolume analyticVolume) { return getListOfAnalyticVolumes().add(analyticVolume); }
/** * Adds a new {@link OutwardBindingSite} to the {@link #listOfOutwardBindingSites}. * <p>The listOfOutwardBindingSites is initialized if necessary. * * @param outwardBindingSite the element to add to the list * @return {@code true} (as specified by {@link java.util.Collection#add}) * @see java.util.Collection#add(Object) */ public boolean addOutwardBindingSite(OutwardBindingSite outwardBindingSite) { return getListOfOutwardBindingSites().add(outwardBindingSite); }
/** * Adds a new {@link ParametricObject} to the listOfParametricObjects. * <p>The listOfParametricObjects is initialized if necessary. * * @param parametricObject the element to add to the list * @return true (as specified by {@link Collection#add}) */ public boolean addParametricObject(ParametricObject parametricObject) { return getListOfParametricObjects().add(parametricObject); }
/** * Adds a new {@link SpeciesFeatureValue} to the {@link #listOfSpeciesFeatureValues}. * <p>The listOfSpeciesFeatureValues is initialized if necessary. * * @param speciesFeatureValue the element to add to the list * @return {@code true} (as specified by {@link java.util.Collection#add}) * @see java.util.Collection#add(Object) */ public boolean addSpeciesFeatureValue(SpeciesFeatureValue speciesFeatureValue) { return getListOfSpeciesFeatureValues().add(speciesFeatureValue); }
/** * Adds a {@link SpeciesReference} instance to the listOfProducts of this {@link Reaction}. * * @param specref * @return {@code true} if the {@link #listOfProducts} was * changed as a result of this call. */ public boolean addProduct(SpeciesReference specref) { return getListOfProducts().add(specref); }