public abstract class Iroot
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.Integer |
depth |
protected java.util.List<KeyValue> |
keyValue |
protected java.lang.Long |
priority |
protected java.lang.String |
url |
Constructor and Description |
---|
Iroot()
Creates a new
Iroot instance. |
Iroot(Iroot o)
Creates a new
Iroot instance by deeply copying a given Iroot instance. |
Modifier and Type | Method and Description |
---|---|
Iroot |
clone()
Creates and returns a deep copy of this object.
|
int |
getDepth()
The maximum recursion level from the root through links.
|
java.util.List<KeyValue> |
getKeyValue()
Gets the value of the keyValue property.
|
long |
getPriority()
in which fifo to put the url (0-4) (default: 0)
|
java.lang.String |
getUrl()
The root url.
|
void |
setDepth(java.lang.Integer value)
Sets the value of the depth property.
|
void |
setPriority(java.lang.Long value)
Sets the value of the priority property.
|
void |
setUrl(java.lang.String value)
Sets the value of the url property.
|
Iroot |
withDepth(java.lang.Integer value) |
Iroot |
withKeyValue(java.util.Collection<KeyValue> values) |
Iroot |
withKeyValue(KeyValue... values) |
Iroot |
withPriority(java.lang.Long value) |
Iroot |
withUrl(java.lang.String value) |
protected java.util.List<KeyValue> keyValue
protected java.lang.String url
protected java.lang.Integer depth
protected java.lang.Long priority
public Iroot()
Iroot
instance.public Iroot(Iroot o)
Iroot
instance by deeply copying a given Iroot
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public java.util.List<KeyValue> getKeyValue()
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 keyValue property.
For example, to add a new item, do as follows:
getKeyValue().add(newItem);
Objects of the following type(s) are allowed in the list
KeyValue
public java.lang.String getUrl()
String
public void setUrl(java.lang.String value)
value
- allowed object is
String
public int getDepth()
Integer
public void setDepth(java.lang.Integer value)
value
- allowed object is
Integer
public long getPriority()
Long
public void setPriority(java.lang.Long value)
value
- allowed object is
Long
public Iroot withUrl(java.lang.String value)
public Iroot withDepth(java.lang.Integer value)
public Iroot withPriority(java.lang.Long value)
public Iroot clone()
clone
in class java.lang.Object
Copyright © 2021 Dassault Systèmes, All Rights Reserved.