Class Place
java.lang.Object
dev.tuplle.petri4j.parser.petriflow.model.Place
Java class for place complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="place"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="x" type="{}nonNegativeInteger"/> <element name="y" type="{}nonNegativeInteger"/> <element name="label" type="{}i18nStringType"/> <element name="tokens" type="{}nonNegativeInteger"/> <choice> <element name="isStatic" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="static" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </choice> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Gets the value of the id property.getLabel()
Gets the value of the label property.int
Gets the value of the tokens property.int
getX()
Gets the value of the x property.int
getY()
Gets the value of the y property.Gets the value of the isStatic property.isStatic()
Gets the value of the static property.void
Sets the value of the id property.void
setIsStatic
(Boolean value) Sets the value of the isStatic property.void
setLabel
(I18NStringType value) Sets the value of the label property.void
Sets the value of the static property.void
setTokens
(int value) Sets the value of the tokens property.void
setX
(int value) Sets the value of the x property.void
setY
(int value) Sets the value of the y property.
-
Field Details
-
id
-
x
protected int x -
y
protected int y -
label
-
tokens
protected int tokens -
isStatic
-
_static
-
-
Constructor Details
-
Place
public Place()
-
-
Method Details
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getX
public int getX()Gets the value of the x property. -
setX
public void setX(int value) Sets the value of the x property. -
getY
public int getY()Gets the value of the y property. -
setY
public void setY(int value) Sets the value of the y property. -
getLabel
Gets the value of the label property.- Returns:
- possible object is
I18NStringType
-
setLabel
Sets the value of the label property.- Parameters:
value
- allowed object isI18NStringType
-
getTokens
public int getTokens()Gets the value of the tokens property. -
setTokens
public void setTokens(int value) Sets the value of the tokens property. -
isIsStatic
Gets the value of the isStatic property.- Returns:
- possible object is
Boolean
-
setIsStatic
Sets the value of the isStatic property.- Parameters:
value
- allowed object isBoolean
-
isStatic
Gets the value of the static property.- Returns:
- possible object is
Boolean
-
setStatic
Sets the value of the static property.- Parameters:
value
- allowed object isBoolean
-