Class ObjectValueContainer


  • public class ObjectValueContainer
    extends java.lang.Object
    container class to hold the name and value of an attribute for an object to be added as a field to the document
    Author:
    nils
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectValueContainer​(java.lang.String className, java.lang.String name, java.lang.String value)
      constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClassName()
      className
      java.lang.String getLuceneName()
      generate the name to be used as a field name in lucene
      java.lang.String getName()
      name
      java.lang.String getValue()
      value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectValueContainer

        public ObjectValueContainer​(java.lang.String className,
                                    java.lang.String name,
                                    java.lang.String value)
        constructor
        Parameters:
        className - name of the class the attribute belongs to
        name - name of the field
        value - value of the field
    • Method Detail

      • getClassName

        public java.lang.String getClassName()
        className
        Returns:
        className
      • getName

        public java.lang.String getName()
        name
        Returns:
        name
      • getValue

        public java.lang.String getValue()
        value
        Returns:
        value
      • getLuceneName

        public java.lang.String getLuceneName()
        generate the name to be used as a field name in lucene
        Returns:
        lowercase classname and field name