public final class Related extends Property
Property.Id
Modifier and Type | Field and Description |
---|---|
static PropertyFactory<Related> |
FACTORY |
ILLEGAL_PARAMETER_MESSAGE
Constructor and Description |
---|
Related(List<Parameter> params,
String value)
Factory constructor.
|
Related(String text,
Type... types) |
Related(URI uri,
Type... types) |
Modifier and Type | Method and Description |
---|---|
URI |
getUri() |
String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toString
public static final PropertyFactory<Related> FACTORY
public Related(String text, Type... types)
text
- a related text valuetypes
- optional types of the text valuepublic Related(URI uri, Type... types)
uri
- a URI that defines a relationshiptypes
- optional types of the URI valuepublic Related(List<Parameter> params, String value) throws URISyntaxException
params
- property parametersvalue
- string representation of a property valueURISyntaxException
- if the specified URI value is not a valid URICopyright © 2008-2012 Micronode. All Rights Reserved.