public abstract class Property<Domain extends FramebaseResource,Range extends FramebaseResource> extends FramebaseResource
IRI_MARKER, PREFIX_FRAMEBASE, SEPARATOR
Constructor and Description |
---|
Property() |
Property(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
extractComponents()
Extracts components from IRIs
(Current implementations use Regex over the IRIs but that may change in the future)
NOTE: It is case sensitive!! If the IRI used in the constructor had case modified (some servers do this), the correct functioning of this method isn not ensured.
|
java.util.List<Domain> |
getDomains() |
Domain |
getPreferredDomain()
There can be several ones, but the first in the list is considered the preferred one.
|
Range |
getPreferredRange()
There can be several ones, but the first in the list is considered the preferred one.
|
java.util.List<Range> |
getRanges() |
java.util.List<Property> |
getSubclasses() |
java.util.List<Property> |
getSuperproperties() |
customIriDecode, customIriEncode, equals, getDefaultDescription, getDefaultLabel, getIri, getNamespace, hashCode, setDefaultDescription, setDefaultLabel, setIri
public abstract boolean extractComponents()
FramebaseResource
extractComponents
in class FramebaseResource
public java.util.List<Domain> getDomains()
public Domain getPreferredDomain()
public Range getPreferredRange()
public java.util.List<Range> getRanges()
public java.util.List<Property> getSubclasses()
public java.util.List<Property> getSuperproperties()