things.data
Class ThingsPropertyDescription

java.lang.Object
  extended by things.data.ThingsPropertyDescription

public class ThingsPropertyDescription
extends java.lang.Object

A description of a property.

Version:
1.0

Version History

EPG - Initial - 17 MAY 04
 
Author:
Erich P. Gatejen

Field Summary
 java.lang.String help
          The help text for the property.
 java.lang.String name
          The name of the property.
 boolean required
          Is the property required? If true, it is.
 java.lang.String user
          who uses this property?
 java.util.List<NVImmutable> values
          Suggested values.
 
Constructor Summary
ThingsPropertyDescription(boolean required, java.lang.String name, java.lang.String help)
          Constructor.
ThingsPropertyDescription(boolean required, java.lang.String name, java.lang.String user, java.lang.String help)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

required

public boolean required
Is the property required? If true, it is.


name

public java.lang.String name
The name of the property. This is suitable for lookup in a view.


user

public java.lang.String user
who uses this property?


help

public java.lang.String help
The help text for the property.


values

public java.util.List<NVImmutable> values
Suggested values. If left null, there are none.

Constructor Detail

ThingsPropertyDescription

public ThingsPropertyDescription(boolean required,
                                 java.lang.String name,
                                 java.lang.String help)
Constructor.

Parameters:
required - Is the property required?
name - The name of the property. This is suitable for lookup in a view.
help - The help text for the property.

ThingsPropertyDescription

public ThingsPropertyDescription(boolean required,
                                 java.lang.String name,
                                 java.lang.String user,
                                 java.lang.String help)
Constructor.

Parameters:
required - Is the property required?
name - The name of the property. This is suitable for lookup in a view.
user - The user name for this property.
help - The help text for the property.


Things.