class OrganisationUnit extends
    BaseDimensionalItemObject implements
    MetadataObject,
    CoordinateObject {

    public String getParentNameGraph( Collection<OrganisationUnit> roots, boolean includeThis )
    {
        StringBuilder builder = new StringBuilder();

        List<OrganisationUnit> ancestors = getAncestors( roots );

        for ( OrganisationUnit unit : ancestors )
        {
            builder.append( "/" ).append( unit.getName() );
        }

        if ( includeThis )
        {
            builder.append( "/" ).append( name );
        }

        return builder.toString();
    }

    public  OrganisationUnit();
    public  OrganisationUnit( String name );
    public  OrganisationUnit( String name, String shortName, String code, Date openingDate, Date closedDate,
        String comment );
    public  OrganisationUnit( String name, OrganisationUnit parent, String shortName, String code, Date openingDate,
        Date closedDate, String comment );

}