@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() |
public Organisation()
public Organisation(Long id, Organisation parent, String name, String url, float profit, List<Organisation> children)
public Long getId()
public Organisation getParent()
public String getName()
public String getUrl()
public float getProfit()
public List<Organisation> getChildren()
public void setId(Long id)
public void setParent(Organisation parent)
public void setName(String name)
public void setUrl(String url)
public void setProfit(float profit)
public void setChildren(List<Organisation> children)
Copyright © 2026 fastnate.org. All rights reserved.