org.eclipse.lyo.oslc4j.core.model
Class Property
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc4j.core.model.Property
- All Implemented Interfaces:
- Comparable<Property>, IExtendedResource, IResource
public final class Property
- extends AbstractResource
- implements Comparable<Property>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Property
public Property()
Property
public Property(String name,
Occurs occurs,
URI propertyDefinition,
ValueType valueType)
addAllowedValue
public void addAllowedValue(String allowedValue)
addRange
public void addRange(URI range)
compareTo
public int compareTo(Property o)
- Specified by:
compareTo
in interface Comparable<Property>
getAllowedValues
public String[] getAllowedValues()
getAllowedValuesRef
public URI getAllowedValuesRef()
getDefaultValue
public String getDefaultValue()
getDescription
public String getDescription()
getMaxSize
public Integer getMaxSize()
getName
public String getName()
getOccurs
public URI getOccurs()
getPropertyDefinition
public URI getPropertyDefinition()
getRange
public URI[] getRange()
getRepresentation
public URI getRepresentation()
getTitle
public String getTitle()
getValueShape
public URI getValueShape()
getValueType
public URI getValueType()
isHidden
public Boolean isHidden()
isMemberProperty
public Boolean isMemberProperty()
isReadOnly
public Boolean isReadOnly()
setAllowedValues
public void setAllowedValues(String[] allowedValues)
setAllowedValuesRef
public void setAllowedValuesRef(URI allowedValuesRef)
setDefaultValue
public void setDefaultValue(String defaultValue)
setDescription
public void setDescription(String description)
setHidden
public void setHidden(Boolean hidden)
setMaxSize
public void setMaxSize(Integer maxSize)
setMemberProperty
public void setMemberProperty(Boolean memberProperty)
setName
public void setName(String name)
setOccurs
public void setOccurs(Occurs occurs)
setOccurs
public void setOccurs(URI occurs)
setPropertyDefinition
public void setPropertyDefinition(URI propertyDefinition)
setRange
public void setRange(URI[] ranges)
setReadOnly
public void setReadOnly(Boolean readOnly)
setRepresentation
public void setRepresentation(Representation representation)
setRepresentation
public void setRepresentation(URI representation)
setTitle
public void setTitle(String title)
setValueShape
public void setValueShape(URI valueShape)
setValueType
public void setValueType(ValueType valueType)
setValueType
public void setValueType(URI valueType)
Copyright © 2013. All Rights Reserved.