| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractAnnotation.AnnotationProperty
Properties of annotations.
|
static class |
AbstractAnnotation.AnnotationType
Available annotation types.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAnnotation(AbstractAnnotation.AnnotationType annotationType,
Map<AbstractAnnotation.AnnotationProperty,String> properties,
Set<AbstractAnnotation.AnnotationProperty> requiredProperties)
Creates a new AbstractAnnotation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getPage()
Gets the page.
|
Map<AbstractAnnotation.AnnotationProperty,String> |
getProperties()
Gets the properties.
|
String |
getProperty(AbstractAnnotation.AnnotationProperty property)
Gets the property.
|
AbstractAnnotation.AnnotationType |
getType()
Gets the type.
|
int |
hashCode() |
boolean |
isEdit()
Checks if annotation can be edited.
|
void |
setProperty(AbstractAnnotation.AnnotationProperty property,
String value)
Sets the property.
|
String |
toString() |
protected AbstractAnnotation(AbstractAnnotation.AnnotationType annotationType, Map<AbstractAnnotation.AnnotationProperty,String> properties, Set<AbstractAnnotation.AnnotationProperty> requiredProperties)
annotationType - typeproperties - properties of the annotationrequiredProperties - required properties for the typepublic AbstractAnnotation.AnnotationType getType()
public int getPage()
public boolean isEdit()
public Map<AbstractAnnotation.AnnotationProperty,String> getProperties()
public String getProperty(AbstractAnnotation.AnnotationProperty property)
property - the propertypublic void setProperty(AbstractAnnotation.AnnotationProperty property, String value)
property - the propertyvalue - the valuepublic int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.