Package org.mule.metadata.api.model
Interface ObjectFieldType
-
- All Superinterfaces:
MetadataType
- All Known Implementing Classes:
DefaultObjectFieldType
public interface ObjectFieldType extends MetadataType
Represents a key value pair of an object field.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectKeyTypegetKey()The key of this fieldMetadataTypegetValue()The value of this fieldbooleanisRepeated()If this field can be present more than once in an objectbooleanisRequired()If the field is required or not-
Methods inherited from interface org.mule.metadata.api.model.MetadataType
accept, getAnnotation, getAnnotations, getDescription, getMetadataFormat
-
-
-
-
Method Detail
-
getKey
ObjectKeyType getKey()
The key of this field- Returns:
- The key
-
isRequired
boolean isRequired()
If the field is required or not- Returns:
- True if is required
-
isRepeated
boolean isRepeated()
If this field can be present more than once in an object- Returns:
- True if it can be repeated
-
getValue
MetadataType getValue()
The value of this field- Returns:
- The value
-
-