public class ClassAttribute extends Object implements Attribute, ClassMember
| Constructor and Description |
|---|
ClassAttribute(Field field) |
ClassAttribute(Field field,
String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
Set<Class> |
getConcernedTypes() |
Class |
getDeclaringClass() |
Field |
getField() |
Class |
getFieldType() |
Optional<Link> |
getLink() |
String |
getName() |
Class |
getType() |
Optional<String> |
getTypeName() |
ClassAttribute |
setLink(Optional<Link> link) |
String |
toStringAttribute() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTo, isManagedpublic ClassAttribute(Field field)
public Optional<String> getTypeName()
getTypeName in interface Attributepublic Class getType()
getType in interface ClassMemberpublic String getName()
getName in interface AttributegetName in interface ClassMemberpublic Field getField()
public Class getDeclaringClass()
getDeclaringClass in interface ClassMemberpublic Class getFieldType()
public Set<Class> getConcernedTypes()
getConcernedTypes in interface ClassMemberpublic String toStringAttribute()
public ClassAttribute setLink(Optional<Link> link)
Copyright © 2017 Focus IT. All rights reserved.