org.kite9.diagram.builders
Class HasRelationship

java.lang.Object
  extended by org.kite9.diagram.builders.Relationship
      extended by org.kite9.diagram.builders.HasRelationship
All Implemented Interfaces:
AliasEnabled

public class HasRelationship
extends Relationship

In a has-relationship, the name specifies the type of thing that is had, rather than the type of the relationship.

Author:
moffatr

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kite9.diagram.builders.Relationship
Relationship.RelationshipType
 
Field Summary
static HasRelationship ANNOTATION
           
static HasRelationship ANNOTATION_OF
           
static HasRelationship CLASS
           
static HasRelationship CLASS_GROUP
           
static HasRelationship CLASS_OF
           
static HasRelationship FIELD
           
static HasRelationship FIELD_OF
           
static HasRelationship INNER_CLASS
           
static HasRelationship INNER_CLASS_OF
           
static HasRelationship METHOD
           
static HasRelationship METHOD_OF
           
static HasRelationship MODIFIER
           
static HasRelationship MODIFIER_OF
           
static HasRelationship NAME
           
static HasRelationship NAME_OF
           
static HasRelationship PACKAGE
           
static HasRelationship PACKAGE_OF
           
static HasRelationship PARAMETER
           
static HasRelationship PARAMETER_OF
           
static HasRelationship TYPE
           
static HasRelationship TYPE_OF
           
static HasRelationship VISIBILITY
           
static HasRelationship VISIBILITY_OF
           
 
Fields inherited from class org.kite9.diagram.builders.Relationship
activeRelationship, CALLED_BY, CALLS, EXTENDED_BY, EXTENDS, IMPLEMENTED_BY, IMPLEMENTS, REFERENCED_BY, REFERENCES, REQUIRED_BY, REQUIRES, RETURNED_BY, RETURNS
 
Constructor Summary
HasRelationship(HasRelationship active)
           
HasRelationship(String name)
           
 
Method Summary
 Object getObjectForAlias()
           
 
Methods inherited from class org.kite9.diagram.builders.Relationship
getActiveRelationship, getDirection, getName, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VISIBILITY

public static final HasRelationship VISIBILITY

PARAMETER

public static final HasRelationship PARAMETER

NAME

public static final HasRelationship NAME

MODIFIER

public static final HasRelationship MODIFIER

INNER_CLASS

public static final HasRelationship INNER_CLASS

FIELD

public static final HasRelationship FIELD

METHOD

public static final HasRelationship METHOD

PACKAGE

public static final HasRelationship PACKAGE

ANNOTATION

public static final HasRelationship ANNOTATION

CLASS

public static final HasRelationship CLASS

TYPE

public static final HasRelationship TYPE

CLASS_GROUP

public static final HasRelationship CLASS_GROUP

VISIBILITY_OF

public static final HasRelationship VISIBILITY_OF

PARAMETER_OF

public static final HasRelationship PARAMETER_OF

NAME_OF

public static final HasRelationship NAME_OF

MODIFIER_OF

public static final HasRelationship MODIFIER_OF

INNER_CLASS_OF

public static final HasRelationship INNER_CLASS_OF

FIELD_OF

public static final HasRelationship FIELD_OF

METHOD_OF

public static final HasRelationship METHOD_OF

PACKAGE_OF

public static final HasRelationship PACKAGE_OF

ANNOTATION_OF

public static final HasRelationship ANNOTATION_OF

CLASS_OF

public static final HasRelationship CLASS_OF

TYPE_OF

public static final HasRelationship TYPE_OF
Constructor Detail

HasRelationship

public HasRelationship(String name)

HasRelationship

public HasRelationship(HasRelationship active)
Method Detail

getObjectForAlias

public Object getObjectForAlias()
Specified by:
getObjectForAlias in interface AliasEnabled
Overrides:
getObjectForAlias in class Relationship


Copyright © 2011. All Rights Reserved.