description, id
Constructor and Description |
---|
ComponentType() |
ComponentType(String s) |
getDescription, setDescription
public 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
ContentError
ParseError
public 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
ContentError
ParseError
public LemsCollection<Parameter> getDimParams()
public LemsCollection<Constant> getConstants()
public LemsCollection<DerivedParameter> getDerivedParameters()
public boolean setsParam(Parameter dp) throws ContentError
ContentError
public String getSetParamValue(Parameter dp) throws ContentError
ContentError
public EventPort getInEventPort(String port) throws ContentError
ContentError
public EventPort getOutEventPort(String port) throws ContentError
ContentError
public Dynamics getDynamics() throws ContentError
ContentError
public Simulation getSimulation() throws ContentError
ContentError
public Valued getSimpleExposed(String nm) throws ContentError
ContentError
public boolean hasChild(String scb) throws ContentError
ContentError
public Children getChildren(ComponentType ftype) throws ContentError
ContentError
public ArrayList<ComponentType> getChildTypes() throws ContentError
ContentError
public 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
ContentError
public LemsCollection<Attachments> getAttachmentss()
public Children getChildrenByName(String sn) throws ContentError
ContentError
public Valued getFinalParam(String sn) throws ContentError
ContentError
public ComponentReference getComponentRef(String sn) throws ContentError
ContentError
public 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
ContentError
public LemsCollection<Property> getPropertys()
public Collection getCollection(String cnm) throws ContentError
ContentError
public PairCollection getPairCollection(String cnm) throws ContentError
ContentError
public 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 Inheritor
ContentError
public void addParameter(Parameter p)
public void addDerivedParameter(DerivedParameter dp)
public ArrayList<ComponentType> getChildCompTypes() throws ContentError
ContentError
public 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
ContentError
ParseError
protected void addText(String txt)
protected void addRequirement(Requirement req)
public void removeRequirement(String rnm) throws ContentError
ContentError
protected void setDynamics(Dynamics td)
public Map<String,Dimensional> getExposedDimensions()
public ComponentType getScopeType(String over) throws ContentError
ContentError
public IndexParameter getIndexParameter(String nm) throws ContentError
ContentError
Copyright © 2019. All rights reserved.