public class FieldMetadata
extends java.lang.Object
| Constructor and Description |
|---|
FieldMetadata(FieldsMetadata fieldsMetadata,
java.lang.String fieldName,
boolean listType,
java.lang.String imageName,
java.lang.String syntaxKind,
boolean syntaxWithDirective) |
| Modifier and Type | Method and Description |
|---|---|
NullImageBehaviour |
getBehaviour()
Returns the "field" behavior to use when the stream of the image is null.
|
java.lang.String |
getDescription() |
java.lang.String |
getFieldName()
Returns the field name.
|
java.lang.String |
getImageName()
Returns the image name.
|
java.lang.String |
getSyntaxKind() |
boolean |
isImageType()
Returns true if field is image type and false otherwise.
|
boolean |
isListType()
Returns true if field is list type and false otherwise.
|
boolean |
isSyntaxWithDirective() |
boolean |
isUseImageSize() |
void |
setBehaviour(NullImageBehaviour behaviour)
Set the "field" behaviour to use when the stream of the image is null.
|
void |
setDescription(java.lang.String description) |
void |
setImageName(java.lang.String imageName)
Set image name.
|
void |
setListType(boolean listType)
Set true if field is list type and false otherwise.
|
void |
setSyntaxKind(java.lang.String syntaxKind) |
void |
setSyntaxWithDirective(boolean syntaxWithDirective) |
void |
setUseImageSize(boolean useImageSize) |
public FieldMetadata(FieldsMetadata fieldsMetadata, java.lang.String fieldName, boolean listType, java.lang.String imageName, java.lang.String syntaxKind, boolean syntaxWithDirective)
public java.lang.String getFieldName()
public java.lang.String getImageName()
public boolean isListType()
public void setListType(boolean listType)
listType - public boolean isImageType()
public void setImageName(java.lang.String imageName)
imageName - public java.lang.String getSyntaxKind()
public boolean isSyntaxWithDirective()
public void setSyntaxKind(java.lang.String syntaxKind)
public void setSyntaxWithDirective(boolean syntaxWithDirective)
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
public NullImageBehaviour getBehaviour()
public void setBehaviour(NullImageBehaviour behaviour)
behaviour - public boolean isUseImageSize()
public void setUseImageSize(boolean useImageSize)
Copyright © 2022. All Rights Reserved.