org.gnu.atk

Class Relation

public class Relation extends GObject

Constructor Summary
Relation(AtkObject[] targets, RelationType relationship)
Relation(Handle handle)
Method Summary
voidaddTarget(AtkObject target)
RelationTypegetRelationType()
static RelationTypegetRelationTypeForName(String name)
static StringgetRelationTypeName(RelationType type)
AtkObject[]getTargets()
static RelationTyperegisterType(String name)

Constructor Detail

Relation

public Relation(AtkObject[] targets, RelationType relationship)

Relation

public Relation(Handle handle)

Method Detail

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)