public class RelationType extends Object
Java class for relationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="relationType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="deployment" type="{}deploymentType" minOccurs="0"/>
<element name="sourceElement" type="{}relationElementType"/>
<element name="targetElement" type="{}relationElementType"/>
</sequence>
<attribute name="code" use="required" type="{}codeType" />
<attribute name="localized" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="deployment" type="{}deploymentRefType" />
<attribute name="autocreate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="generate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
autocreate |
protected String |
code |
protected List<Serializable> |
content |
protected String |
deployment |
protected Boolean |
generate |
protected boolean |
localized |
| Constructor and Description |
|---|
RelationType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Gets the value of the code property.
|
List<Serializable> |
getContent()
A RelationType defines a n-m or 1-n relation between types.Gets the value of the content property.
|
String |
getDeployment()
Gets the value of the deployment property.
|
boolean |
isAutocreate()
Gets the value of the autocreate property.
|
boolean |
isGenerate()
Gets the value of the generate property.
|
boolean |
isLocalized()
Gets the value of the localized property.
|
void |
setAutocreate(Boolean value)
Sets the value of the autocreate property.
|
void |
setCode(String value)
Sets the value of the code property.
|
void |
setDeployment(String value)
Sets the value of the deployment property.
|
void |
setGenerate(Boolean value)
Sets the value of the generate property.
|
void |
setLocalized(boolean value)
Sets the value of the localized property.
|
protected List<Serializable> content
protected String code
protected boolean localized
protected String deployment
protected Boolean autocreate
protected Boolean generate
public List<Serializable> getContent()
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 set method for
the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list JAXBElement<DeploymentType
> JAXBElement<RelationElementType> JAXBElement<
String> JAXBElement<RelationElementType> String
public String getCode()
Stringpublic void setCode(String value)
value - allowed object is Stringpublic boolean isLocalized()
public void setLocalized(boolean value)
public String getDeployment()
Stringpublic void setDeployment(String value)
value - allowed object is Stringpublic boolean isAutocreate()
Booleanpublic void setAutocreate(Boolean value)
value - allowed object is Booleanpublic boolean isGenerate()
BooleanCopyright © 2017 SAP SE. All Rights Reserved.