@Entity public class Organisation extends Object
OrganisationData and "src/manin/data" for more.| Constructor and Description |
|---|
Organisation() |
Organisation(Long id,
Organisation parent,
String name,
String url,
float profit,
List<Organisation> children) |
| Modifier and Type | Method and Description |
|---|---|
List<Organisation> |
getChildren()
The child organisations.
|
Long |
getId()
The ID of the organisation from the input files.
|
String |
getName()
The name of the organisation.
|
Organisation |
getParent()
The parent organisation.
|
float |
getProfit()
The profit of this organisation.
|
String |
getUrl()
The URL to the website of the organisation.
|
void |
setChildren(List<Organisation> children)
The child organisations.
|
void |
setId(Long id)
The ID of the organisation from the input files.
|
void |
setName(String name)
The name of the organisation.
|
void |
setParent(Organisation parent)
The parent organisation.
|
void |
setProfit(float profit)
The profit of this organisation.
|
void |
setUrl(String url)
The URL to the website of the organisation.
|
String |
toString() |
@Generated(value="lombok") public Organisation()
@ConstructorProperties(value={"id","parent","name","url","profit","children"}) @Generated(value="lombok") public Organisation(Long id, Organisation parent, String name, String url, float profit, List<Organisation> children)
@Generated(value="lombok") public Long getId()
@Generated(value="lombok") public Organisation getParent()
@Generated(value="lombok") public String getName()
@Generated(value="lombok") public String getUrl()
@Generated(value="lombok") public float getProfit()
@Generated(value="lombok") public List<Organisation> getChildren()
@Generated(value="lombok") public void setId(Long id)
@Generated(value="lombok") public void setParent(Organisation parent)
@Generated(value="lombok") public void setName(String name)
@Generated(value="lombok") public void setUrl(String url)
@Generated(value="lombok") public void setProfit(float profit)
@Generated(value="lombok") public void setChildren(List<Organisation> children)
Copyright © 2020 fastnate.org. All rights reserved.