|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstory.flashback.links.FlashbackLinkProperties
public class FlashbackLinkProperties
This class implements LinkPropertiesInterface to give Flashback's semantic rules for the ways nodes can be linked.
| Constructor Summary | |
|---|---|
FlashbackLinkProperties()
|
|
| Method Summary | |
|---|---|
boolean |
canHaveCircularLinks(LinkType lt)
Does a certain link type allow a node to link indirectly to itself (i.e., passing through one or more nodes in a circuit)? |
boolean |
canHaveMultipleLabels(LinkType lt)
Does a certain link type allow two nodes to be linked several times with different labels? |
boolean |
canHaveReflexiveLinks(LinkType lt)
Does a certain link type allow a node to link directly to itself? |
boolean |
cannotRemoveIfLinkedTo(LinkType lt)
Is it critically bad to remove a node if it is linked to by another node for a certain link type? |
boolean |
cannotRemoveIfLinks(LinkType lt)
Is it critically bad to remove a node if links to another node for a certain link type? |
boolean |
inferFromSideNodesInheritLinksFromSubtypes(LinkType lt)
When querying a node for nodes it links to, are the nodes linked from the given node's subnodes also results? |
boolean |
inferFromSideNodesInheritLinksFromSupertypes(LinkType lt)
When querying a node for nodes int links to, are the nodes linked from the given node's super-nodes also results? |
boolean |
inferSupertypesOfFromSideNodesAreLinked(LinkType lt)
Are the supertypes and prototypes of nodes on the "from" side of a link also inferred to be linked? |
boolean |
inferSupertypesOfToSideNodesAreLinked(LinkType lt)
Are the supertypes and prototypes of nodes on the "to" side of the link also inferred to be linked? |
boolean |
inferToSideNodesInheritLinksToSubtypes(LinkType lt)
When querying a node for nodes that link to it, are the nodes linked to the the given node's subnodes also results? |
boolean |
inferToSideNodesInheritLinksToSupertypes(LinkType lt)
When querying a node for nodes that link to it, are the nodes linked to the the given node's super-nodes also results? |
boolean |
linksToInstancingsIncludeArguments(LinkType lt)
For which link types is it desirable to link to the arguments of an instsancing as well as the frame node? |
boolean |
missingAttributesInheritedBackward(LinkType lt)
For which link types is it desirable for a node to inherit an attribute from another node to which it links (i.e., inheriting over a backward link) if it lacks the attribute entirely? |
boolean |
missingAttributesInheritedForward(LinkType lt)
For which link types is it desirable for a node to inherit an attribute from another node linked to it (i.e., inheriting over a forward link) if it lacks the attribute entirely? |
boolean |
multipleBackwardLinksAllowed(LinkType lt)
Can a node have more than one node linked to it by a certain link type? |
boolean |
multipleForwardLinksAllowed(LinkType lt)
Can a node link to more than one other node by a certain link type? |
boolean |
mustHaveSameTypes(LinkType lt)
Does a certain link type need to have the same type of node on both sides? |
java.util.HashSet |
validLeftTypes(LinkType lt)
What types of nodes can appear to the left of a certain link type? |
java.util.HashSet |
validRightTypes(LinkType lt)
What types of nodes can appear to the right of a certain link type? |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlashbackLinkProperties()
| Method Detail |
|---|
public java.util.HashSet validLeftTypes(LinkType lt)
throws Scheherexception
LinkPropertiesInterface
validLeftTypes in interface LinkPropertiesInterfaceScheherexception
public java.util.HashSet validRightTypes(LinkType lt)
throws Scheherexception
LinkPropertiesInterface
validRightTypes in interface LinkPropertiesInterfaceScheherexceptionpublic boolean mustHaveSameTypes(LinkType lt)
LinkPropertiesInterface
mustHaveSameTypes in interface LinkPropertiesInterfacepublic boolean canHaveMultipleLabels(LinkType lt)
LinkPropertiesInterface
canHaveMultipleLabels in interface LinkPropertiesInterfacepublic boolean inferSupertypesOfFromSideNodesAreLinked(LinkType lt)
LinkPropertiesInterface
inferSupertypesOfFromSideNodesAreLinked in interface LinkPropertiesInterfacepublic boolean inferSupertypesOfToSideNodesAreLinked(LinkType lt)
LinkPropertiesInterface
inferSupertypesOfToSideNodesAreLinked in interface LinkPropertiesInterfacepublic boolean inferFromSideNodesInheritLinksFromSupertypes(LinkType lt)
LinkPropertiesInterface
inferFromSideNodesInheritLinksFromSupertypes in interface LinkPropertiesInterfacepublic boolean inferToSideNodesInheritLinksToSupertypes(LinkType lt)
LinkPropertiesInterface
inferToSideNodesInheritLinksToSupertypes in interface LinkPropertiesInterfacepublic boolean inferToSideNodesInheritLinksToSubtypes(LinkType lt)
LinkPropertiesInterface
inferToSideNodesInheritLinksToSubtypes in interface LinkPropertiesInterfacepublic boolean inferFromSideNodesInheritLinksFromSubtypes(LinkType lt)
LinkPropertiesInterface
inferFromSideNodesInheritLinksFromSubtypes in interface LinkPropertiesInterfacepublic boolean canHaveCircularLinks(LinkType lt)
LinkPropertiesInterface
canHaveCircularLinks in interface LinkPropertiesInterfacepublic boolean canHaveReflexiveLinks(LinkType lt)
LinkPropertiesInterface
canHaveReflexiveLinks in interface LinkPropertiesInterfacepublic boolean cannotRemoveIfLinkedTo(LinkType lt)
LinkPropertiesInterface
cannotRemoveIfLinkedTo in interface LinkPropertiesInterfacepublic boolean cannotRemoveIfLinks(LinkType lt)
LinkPropertiesInterface
cannotRemoveIfLinks in interface LinkPropertiesInterfacepublic boolean multipleForwardLinksAllowed(LinkType lt)
LinkPropertiesInterface
multipleForwardLinksAllowed in interface LinkPropertiesInterfacepublic boolean multipleBackwardLinksAllowed(LinkType lt)
LinkPropertiesInterface
multipleBackwardLinksAllowed in interface LinkPropertiesInterfacepublic boolean linksToInstancingsIncludeArguments(LinkType lt)
LinkPropertiesInterface
linksToInstancingsIncludeArguments in interface LinkPropertiesInterfacepublic boolean missingAttributesInheritedForward(LinkType lt)
LinkPropertiesInterface
missingAttributesInheritedForward in interface LinkPropertiesInterfacepublic boolean missingAttributesInheritedBackward(LinkType lt)
LinkPropertiesInterface
missingAttributesInheritedBackward in interface LinkPropertiesInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||