Class AbstractInterfacePort
- java.lang.Object
-
- fi.tut.mei.resdescapi.rdapi.model.rd.AbstractInterfacePort
-
public class AbstractInterfacePort extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Purpose" maxOccurs="unbounded"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="gid" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="functionClassifier" use="required" type="{https://resourcedescription.rd.tuni.fi/XMLSchema/2016}InterfaceFunction_ST" /> <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="description" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractInterfacePort.PurposeJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected Stringidprotected Stringnameprotected List<AbstractInterfacePort.Purpose>purpose
-
Constructor Summary
Constructors Constructor Description AbstractInterfacePort()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets the value of the description property.StringgetId()Gets the value of the id property.StringgetName()Gets the value of the name property.List<AbstractInterfacePort.Purpose>getPurpose()Gets the value of the purpose property.voidsetDescription(String value)Sets the value of the description property.voidsetId(String value)Sets the value of the id property.voidsetName(String value)Sets the value of the name property.
-
-
-
Field Detail
-
purpose
protected List<AbstractInterfacePort.Purpose> purpose
-
id
protected String id
-
name
protected String name
-
description
protected String description
-
-
Method Detail
-
getPurpose
public List<AbstractInterfacePort.Purpose> getPurpose()
Gets the value of the purpose property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the purpose property.For example, to add a new item, do as follows:
getPurpose().add(newItem);Objects of the following type(s) are allowed in the list
AbstractInterfacePort.Purpose
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
-