public class ClassMethod extends Object implements Method, DiagramMember
| Constructor and Description |
|---|
ClassMethod(Method method) |
ClassMethod(Method method,
String methodName) |
| Modifier and Type | Method and Description |
|---|---|
Stream<Class> |
getConcernedTypes() |
Class |
getDeclaringClass() |
Optional<Link> |
getLink() |
Method |
getMethod() |
String |
getName() |
Optional<Attribute[]> |
getParameters() |
Optional<String> |
getReturnType() |
boolean |
isBidirectional() |
boolean |
isLeftCollection() |
boolean |
isManaged(Set<Class> classes) |
boolean |
isRightCollection() |
void |
setBidirectionnal(boolean bidirectionnal) |
ClassMethod |
setLink(Optional<Link> link) |
String |
toStringMethod() |
public ClassMethod(Method method)
public Optional<String> getReturnType()
getReturnType in interface Methodpublic String getName()
getName in interface DiagramMembergetName in interface Methodpublic Optional<Attribute[]> getParameters()
getParameters in interface Methodpublic Method getMethod()
public Class getDeclaringClass()
getDeclaringClass in interface DiagramMemberpublic Stream<Class> getConcernedTypes()
getConcernedTypes in interface DiagramMemberpublic void setBidirectionnal(boolean bidirectionnal)
public boolean isBidirectional()
isBidirectional in interface DiagramMemberpublic boolean isRightCollection()
isRightCollection in interface DiagramMemberpublic boolean isLeftCollection()
isLeftCollection in interface DiagramMemberpublic String toStringMethod()
public ClassMethod setLink(Optional<Link> link)
Copyright © 2017 Focus IT. All rights reserved.