org.gnu.atk

Class Relation


public class Relation
extends GObject

Constructor Summary

Relation(Handle handle)
Relation(AtkObject[] targets, RelationType relationship)

Method Summary

void
addTarget(AtkObject target)
RelationType
getRelationType()
static RelationType
getRelationTypeForName(String name)
static String
getRelationTypeName(RelationType type)
AtkObject[]
getTargets()
static RelationType
registerType(String name)

Constructor Details

Relation

public Relation(Handle handle)

Relation

public Relation(AtkObject[] targets,
                RelationType relationship)

Method Details

addTarget

public void addTarget(AtkObject target)

getRelationType

public RelationType getRelationType()

getRelationTypeForName

public static RelationType getRelationTypeForName(String name)

getRelationTypeName

public static String getRelationTypeName(RelationType type)

getTargets

public AtkObject[] getTargets()

registerType

public static RelationType registerType(String name)