Package org.jabylon.properties
Interface Property
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject,org.eclipse.emf.cdo.common.id.CDOWithID,org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier,Serializable
- All Known Implementing Classes:
PropertyImpl
public interface Property extends org.eclipse.emf.cdo.CDOObject, Serializable
A representation of the model object 'Property'.The following features are supported:
- See Also:
PropertiesPackage.getProperty()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PropertyAnnotationfindAnnotation(String name)Tries to find an annotation of the given name and returns it.org.eclipse.emf.common.util.EList<PropertyAnnotation>getAnnotations()Returns the value of the 'Annotations' reference list.StringgetComment()Returns the value of the 'Comment' attribute.StringgetCommentWithoutAnnotations()Returns the value of the 'Comment Without Annotations' attribute.StringgetKey()Returns the value of the 'Key' attribute.StringgetValue()Returns the value of the 'Value' attribute.voidsetComment(String value)Sets the value of the 'Comment' attribute.voidsetKey(String value)Sets the value of the 'Key' attribute.voidsetValue(String value)Sets the value of the 'Value' attribute.-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
-
-
-
-
Method Detail
-
getKey
String getKey()
Returns the value of the 'Key' attribute.If the meaning of the 'Key' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Key' attribute.
- See Also:
setKey(String),PropertiesPackage.getProperty_Key()
-
setKey
void setKey(String value)
Sets the value of the 'Key' attribute.- Parameters:
value- the new value of the 'Key' attribute.- See Also:
getKey()
-
getValue
String getValue()
Returns the value of the 'Value' attribute.If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Value' attribute.
- See Also:
setValue(String),PropertiesPackage.getProperty_Value()
-
setValue
void setValue(String value)
Sets the value of the 'Value' attribute.- Parameters:
value- the new value of the 'Value' attribute.- See Also:
getValue()
-
getComment
String getComment()
Returns the value of the 'Comment' attribute.The translation comment associated with the comment. If the comment contains any annotations, they are extracted automatically
- Returns:
- the value of the 'Comment' attribute.
- See Also:
setComment(String),PropertiesPackage.getProperty_Comment()
-
setComment
void setComment(String value)
Sets the value of the 'Comment' attribute.- Parameters:
value- the new value of the 'Comment' attribute.- See Also:
getComment()
-
getAnnotations
org.eclipse.emf.common.util.EList<PropertyAnnotation> getAnnotations()
Returns the value of the 'Annotations' reference list. The list contents are of typePropertyAnnotation.If the meaning of the 'Annotations' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Annotations' reference list.
- See Also:
PropertiesPackage.getProperty_Annotations()
-
getCommentWithoutAnnotations
String getCommentWithoutAnnotations()
Returns the value of the 'Comment Without Annotations' attribute.This is the comment of the property minus any annotations found
- Returns:
- the value of the 'Comment Without Annotations' attribute.
- See Also:
PropertiesPackage.getProperty_CommentWithoutAnnotations()
-
findAnnotation
PropertyAnnotation findAnnotation(String name)
Tries to find an annotation of the given name and returns it. If none is found,nullis returned
-
-