description, id| Constructor and Description |
|---|
ComponentType() |
ComponentType(String s) |
getDescription, setDescriptionpublic String name
public String eXtends
public ComponentType r_extends
public LemsCollection<Parameter> parameters
public LemsCollection<IndexParameter> indexParameters
public LemsCollection<DerivedParameter> derivedParameters
public LemsCollection<PathParameter> pathParameters
public LemsCollection<Requirement> requirements
public LemsCollection<ComponentRequirement> componentRequirements
public LemsCollection<InstanceRequirement> instanceRequirements
public LemsCollection<Exposure> exposures
public LemsCollection<Child> childs
public LemsCollection<Children> childrens
public LemsCollection<Link> links
public LemsCollection<ComponentReference> componentReferences
public LemsCollection<ComponentTypeReference> componentTypeReferences
public LemsCollection<Location> locations
public LemsCollection<Property> propertys
public LemsCollection<Dynamics> dynamicses
public LemsCollection<Structure> structures
public LemsCollection<Simulation> simulations
public LemsCollection<Equilibrium> equilibriums
public LemsCollection<Procedure> procedures
public LemsCollection<Geometry> geometrys
public LemsCollection<Fixed> fixeds
public LemsCollection<Constant> constants
public LemsCollection<Attachments> attachmentses
public LemsCollection<EventPort> eventPorts
public LemsCollection<Path> paths
public LemsCollection<Text> texts
public LemsCollection<Collection> collections
public LemsCollection<PairCollection> pairCollections
public LemsCollection<About> abouts
public LemsCollection<Meta> metas
public boolean standalone
public ComponentType()
public ComponentType(String s)
protected void setName(String s)
public String getAbout()
public boolean isExtension()
public boolean isOrExtends(String typeName)
public boolean isOrExtendsType(ComponentType ct)
public boolean extendsType(ComponentType ct)
public void addCpt(Component cpt)
public LemsCollection<Component> getComponents()
public void resolve(Lems lems, Parser p) throws ContentError, ParseError
ContentErrorParseErrorpublic LemsCollection<EventPort> getEventPorts()
public LemsCollection<FinalParam> getFinalParams()
public LemsCollection<FinalExposed> getFinalExposures()
public LemsCollection<InstanceProperty> getInstancePropertys()
public void checkResolve(Lems lems, Parser p) throws ContentError, ParseError
ContentErrorParseErrorpublic LemsCollection<Parameter> getDimParams()
public LemsCollection<Constant> getConstants()
public LemsCollection<DerivedParameter> getDerivedParameters()
public boolean setsParam(Parameter dp) throws ContentError
ContentErrorpublic String getSetParamValue(Parameter dp) throws ContentError
ContentErrorpublic EventPort getInEventPort(String port) throws ContentError
ContentErrorpublic EventPort getOutEventPort(String port) throws ContentError
ContentErrorpublic Dynamics getDynamics() throws ContentError
ContentErrorpublic Simulation getSimulation() throws ContentError
ContentErrorpublic Valued getSimpleExposed(String nm) throws ContentError
ContentErrorpublic boolean hasChild(String scb) throws ContentError
ContentErrorpublic Children getChildren(ComponentType ftype) throws ContentError
ContentErrorpublic ArrayList<ComponentType> getChildTypes() throws ContentError
ContentErrorpublic ComponentType getExtends()
public boolean hasDynamics()
public boolean hasSimulation()
public LemsCollection<ComponentReference> getComponentRefs()
public LemsCollection<Link> getLinks()
public void checkEquations(HashMap<String,Dimensional> cdimHM) throws ContentError
ContentErrorpublic LemsCollection<Attachments> getAttachmentss()
public Children getChildrenByName(String sn) throws ContentError
ContentErrorpublic Valued getFinalParam(String sn) throws ContentError
ContentErrorpublic ComponentReference getComponentRef(String sn) throws ContentError
ContentErrorpublic LemsCollection<Path> getPaths()
public LemsCollection<Text> getTexts()
public LemsCollection<Requirement> getRequirements()
public LemsCollection<Exposure> getExposures()
public LemsCollection<Children> getChildrens()
public LemsCollection<Child> getChilds()
public LemsCollection<ComponentReference> getComponentReferences()
public Exposure getExposure(String snm) throws ContentError
ContentErrorpublic LemsCollection<Property> getPropertys()
public Collection getCollection(String cnm) throws ContentError
ContentErrorpublic PairCollection getPairCollection(String cnm) throws ContentError
ContentErrorpublic LemsCollection<Collection> getCollections()
public LemsCollection<PairCollection> getPairCollections()
public LemsCollection<ComponentTypeReference> getComponentTypeRefs()
public LemsCollection<PathParameter> getPathParameters()
public LemsCollection<Parameter> getParameters()
public double getHierarchyWeight(Lems lems)
public boolean inherited(Object obj) throws ContentError
inherited in interface InheritorContentErrorpublic void addParameter(Parameter p)
public void addDerivedParameter(DerivedParameter dp)
public ArrayList<ComponentType> getChildCompTypes() throws ContentError
ContentErrorpublic XMLElement getContextMeta(String ctxt)
public void addEventPort(EventPort ep)
public void addDynamics(Dynamics d)
public void addExposure(Exposure expo)
public LemsCollection<Procedure> getProcedures()
public StateType makeStateType(Component cpt, boolean fixParams) throws ContentError, ParseError
ContentErrorParseErrorprotected void addText(String txt)
protected void addRequirement(Requirement req)
public void removeRequirement(String rnm) throws ContentError
ContentErrorprotected void setDynamics(Dynamics td)
public Map<String,Dimensional> getExposedDimensions()
public ComponentType getScopeType(String over) throws ContentError
ContentErrorpublic IndexParameter getIndexParameter(String nm) throws ContentError
ContentErrorCopyright © 2019. All rights reserved.