io.adminshell.aas.v3.model.Extension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of model Show documentation
Show all versions of model Show documentation
This project includes a Java representation of the classes defined in the Asset Administration Shell ontology.
/*
* Copyright (c) 2021 Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e. V.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.adminshell.aas.v3.model;
import io.adminshell.aas.v3.model.annotations.IRI;
import io.adminshell.aas.v3.model.annotations.KnownSubtypes;
import io.adminshell.aas.v3.model.builder.*;
import io.adminshell.aas.v3.model.impl.*;
/**
* Single extension of an element. Constraint AASd-077: The name of an extension within
* HasExtensions needs to be unique.
*/
@KnownSubtypes({
@KnownSubtypes.Type(value = DefaultExtension.class)
})
public interface Extension extends HasSemantics {
/**
* An extension of the element.
*
* More information under https://admin-shell.io/aas/3/0/RC01/Extension/name
*
* @return Returns the String for the property name.
*/
@IRI("https://admin-shell.io/aas/3/0/RC01/Extension/name")
String getName();
/**
* An extension of the element.
*
* More information under https://admin-shell.io/aas/3/0/RC01/Extension/name
*
* @param name desired value for the property name.
*/
void setName(String name);
/**
* Type of the value of the extension.
*
* More information under https://admin-shell.io/aas/3/0/RC01/Extension/valueType
*
* @return Returns the String for the property valueType.
*/
@IRI("https://admin-shell.io/aas/3/0/RC01/Extension/valueType")
String getValueType();
/**
* Type of the value of the extension.
*
* More information under https://admin-shell.io/aas/3/0/RC01/Extension/valueType
*
* @param valueType desired value for the property valueType.
*/
void setValueType(String valueType);
/**
* Value of the extension.
*
* More information under https://admin-shell.io/aas/3/0/RC01/Extension/value
*
* @return Returns the String for the property value.
*/
@IRI("https://admin-shell.io/aas/3/0/RC01/Extension/value")
String getValue();
/**
* Value of the extension.
*
* More information under https://admin-shell.io/aas/3/0/RC01/Extension/value
*
* @param value desired value for the property value.
*/
void setValue(String value);
/**
* Reference to an element the extension refers to.
*
* More information under https://admin-shell.io/aas/3/0/RC01/Extension/refersTo
*
* @return Returns the Reference for the property refersTo.
*/
@IRI("https://admin-shell.io/aas/3/0/RC01/Extension/refersTo")
Reference getRefersTo();
/**
* Reference to an element the extension refers to.
*
* More information under https://admin-shell.io/aas/3/0/RC01/Extension/refersTo
*
* @param refersTo desired value for the property refersTo.
*/
void setRefersTo(Reference refersTo);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy