public final class ValueField extends Object
IEventSinkFactory.create.| Constructor and Description |
|---|
ValueField(IAttribute<?> attribute)
Create a value field matching an
IAttribute. |
ValueField(String identifier,
String name,
String description,
ContentType<?> contentType)
Create a value field.
|
| Modifier and Type | Method and Description |
|---|---|
ContentType<?> |
getContentType() |
String |
getDescription() |
String |
getIdentifier() |
String |
getName() |
boolean |
matches(IAttribute<?> a)
Check if a value field matches an attribute.
|
String |
toString() |
public ValueField(IAttribute<?> attribute)
IAttribute.attribute - attribute to matchpublic ValueField(String identifier, String name, String description, ContentType<?> contentType)
identifier - field IDname - human readable field namedescription - human readable field descriptioncontentType - content type of the fieldpublic String getIdentifier()
public String getName()
public String getDescription()
public ContentType<?> getContentType()
public boolean matches(IAttribute<?> a)
a - attribute to matchtrue if the value field and the attribute match, false if notCopyright © 2020. All rights reserved.