| package org.eclipse.basyx.wrapper.receiver.configuration; |
| |
| /** |
| * Represents a single configuration for a property. The datasource for this |
| * property is an AAS property. |
| * |
| * @author espen |
| * |
| */ |
| public class AASPropertyConfiguration extends PropertyConfiguration { |
| private static final long serialVersionUID = 1L; |
| |
| public static final String TYPE = "AAS"; |
| |
| // indices in the configuration file |
| public static final String AAS = "aas"; |
| public static final String SUBMODEL = "submodel"; |
| public static final String SHORTID = "shortId"; |
| |
| public AASPropertyConfiguration() { |
| super(); |
| } |
| |
| public AASPropertyConfiguration(PropertyConfiguration config) { |
| putAll(config); |
| } |
| |
| public String getAAS() { |
| return get(AAS); |
| } |
| |
| public void setAAS(String aas) { |
| put(AAS, aas); |
| } |
| |
| public String getSubmodel() { |
| return get(SUBMODEL); |
| } |
| |
| public void setSubmodel(String submodel) { |
| put(SUBMODEL, submodel); |
| } |
| |
| public String getShortId() { |
| return get(SHORTID); |
| } |
| |
| public void setShortId(String shortId) { |
| put(SHORTID, shortId); |
| } |
| } |