fr.opensagres.xdocreport.template.formatter
Class FieldMetadata

java.lang.Object
  extended by fr.opensagres.xdocreport.template.formatter.FieldMetadata

public class FieldMetadata
extends Object

Field metadata.


Constructor Summary
FieldMetadata(FieldsMetadata fieldsMetadata, String fieldName, boolean listType, String imageName, String syntaxKind, boolean syntaxWithDirective)
           
 
Method Summary
 NullImageBehaviour getBehaviour()
          Returns the "field" behavior to use when the stream of the image is null.
 String getDescription()
           
 String getFieldName()
          Returns the field name.
 String getImageName()
          Returns the image name.
 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(String description)
           
 void setImageName(String imageName)
          Set image name.
 void setListType(boolean listType)
          Set true if field is list type and false otherwise.
 void setSyntaxKind(String syntaxKind)
           
 void setSyntaxWithDirective(boolean syntaxWithDirective)
           
 void setUseImageSize(boolean useImageSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldMetadata

public FieldMetadata(FieldsMetadata fieldsMetadata,
                     String fieldName,
                     boolean listType,
                     String imageName,
                     String syntaxKind,
                     boolean syntaxWithDirective)
Method Detail

getFieldName

public String getFieldName()
Returns the field name.

Returns:

getImageName

public String getImageName()
Returns the image name.

Returns:

isListType

public boolean isListType()
Returns true if field is list type and false otherwise.

Returns:

setListType

public void setListType(boolean listType)
Set true if field is list type and false otherwise.

Parameters:
listType -

isImageType

public boolean isImageType()
Returns true if field is image type and false otherwise.

Returns:

setImageName

public void setImageName(String imageName)
Set image name.

Parameters:
imageName -

getSyntaxKind

public String getSyntaxKind()

isSyntaxWithDirective

public boolean isSyntaxWithDirective()

setSyntaxKind

public void setSyntaxKind(String syntaxKind)

setSyntaxWithDirective

public void setSyntaxWithDirective(boolean syntaxWithDirective)

setDescription

public void setDescription(String description)

getDescription

public String getDescription()

getBehaviour

public NullImageBehaviour getBehaviour()
Returns the "field" behavior to use when the stream of the image is null.

Returns:

setBehaviour

public void setBehaviour(NullImageBehaviour behaviour)
Set the "field" behaviour to use when the stream of the image is null.

Parameters:
behaviour -

isUseImageSize

public boolean isUseImageSize()

setUseImageSize

public void setUseImageSize(boolean useImageSize)


Copyright © 2013. All rights reserved.