public class PropertyDefinition extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
description |
static String |
ELEMENTAL_VALUETYPE_STRING |
protected String |
identifier
a PID
|
static String |
IDENTIFIER_PIT_MARKER_PROPERTY
Marker value to distinguish type and profile records from each other.
|
protected String |
name |
protected String |
namespace |
protected String |
range
a PID
|
Constructor and Description |
---|
PropertyDefinition(String identifier,
String name,
String range)
Constructor.
|
PropertyDefinition(String identifier,
String name,
String range,
String namespace) |
PropertyDefinition(String identifier,
String name,
String range,
String namespace,
String description) |
Modifier and Type | Method and Description |
---|---|
boolean |
generateProperty(Object value)
Verifies that the given value conforms to the property's type range.
|
String |
getDescription() |
String |
getIdentifier() |
String |
getName() |
String |
getNamespace() |
String |
getRange() |
String |
toString() |
public static final String ELEMENTAL_VALUETYPE_STRING
public static final String IDENTIFIER_PIT_MARKER_PROPERTY
protected final String identifier
protected final String name
protected final String range
protected final String namespace
protected final String description
public PropertyDefinition(String identifier, String name, String range)
identifier
- a PIDname
- some readable name (not a PID)range
- a PID, i.e. the PID of the value type space of the property.
This can also be an 'elemental type' identifier.public PropertyDefinition(String identifier, String name, String range, String namespace)
public String getIdentifier()
public String getName()
public String getRange()
public String getNamespace()
public String getDescription()
public boolean generateProperty(Object value)
value
- Copyright © 2014. All rights reserved.