Package liquibase
Class ObjectMetaData.Attribute
- java.lang.Object
-
- liquibase.ObjectMetaData.Attribute
-
- All Implemented Interfaces:
Comparable<ObjectMetaData.Attribute>
- Enclosing class:
- ObjectMetaData
public static class ObjectMetaData.Attribute extends Object implements Comparable<ObjectMetaData.Attribute>
Metadata about a particular attribute.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ObjectMetaData.Attribute o)
boolean
equals(Object obj)
int
hashCode()
-
-
-
Field Detail
-
name
public String name
Name of the attribute.
-
description
public String description
Description of the attribute.
-
required
public Boolean required
True if the attribute is required. What "required" means can depend on the type of object, but in general it should mean that the object is not "valid" if a value isn't set.
-
type
public Type type
Return the stored type of the given attribute. Include any applicable generics information.
-
-
Constructor Detail
-
Attribute
public Attribute()
-
Attribute
public Attribute(String name)
-
-
Method Detail
-
compareTo
public int compareTo(ObjectMetaData.Attribute o)
- Specified by:
compareTo
in interfaceComparable<ObjectMetaData.Attribute>
-
-