public class PropertiesMetaType extends AbstractMetaType
Modifier and Type | Field and Description |
---|---|
static PropertiesMetaType |
INSTANCE |
ALLOWED_CLASSNAMES
Constructor and Description |
---|
PropertiesMetaType() |
PropertiesMetaType(String description) |
PropertiesMetaType(String description,
Map<String,String> propertyNameDescriptions) |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String name,
String description) |
boolean |
equals(Object obj)
Equality of PropertiesMetaType is just based on the class
|
String |
getDescription(String name) |
int |
hashCode() |
boolean |
isProperties()
Return whether the type is a PropertiesMetaType type.
|
boolean |
isProperty(String name) |
boolean |
isValue(Object obj)
Whether the passed value is one of those described by this meta type.
|
getClassName, getDescription, getTypeName, isArray, isCollection, isComposite, isEnum, isGeneric, isPrimitive, isSimple, isTable
public static final PropertiesMetaType INSTANCE
public PropertiesMetaType()
public PropertiesMetaType(String description)
public boolean isProperty(String name)
public boolean isProperties()
MetaType
isProperties
in interface MetaType
isProperties
in class AbstractMetaType
PropertiesMetaType
public boolean isValue(Object obj)
MetaType
isValue
in interface MetaType
isValue
in class AbstractMetaType
obj
- the object to testpublic boolean equals(Object obj)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.