Class Metadata.NoopPropertyPath<C>

    • Field Detail

      • hibernateType

        private final Type hibernateType
      • clazz

        private final Class<C> clazz
    • Constructor Detail

      • NoopPropertyPath

        NoopPropertyPath​(Class<C> clazz,
                         Type hibernateType)
    • Method Detail

      • getValue

        public C getValue​(DbControl dc,
                          C item)
        Description copied from interface: Metadata.PropertyPath
        Get the value as defined by the implementation for the given item.
        Specified by:
        getValue in interface Metadata.PropertyPath<C,​C>
        Parameters:
        dc - A DbControl to use for database access if needed
        item - The item that owns the value
        Returns:
        The value from the item
      • getPath

        public String getPath()
        Description copied from interface: Metadata.PropertyPath
        Get the path that this object represents. Implementors may return null if the path is an "invisible" transition, eg from BasicItem to BasicData or a cloned Date, etc.
        Specified by:
        getPath in interface Metadata.PropertyPath<C,​C>