Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sapphire-dev] New topic in forum Sapphire, called @possiblevalues annotation for ImpliedElementProperty, by chandrika siva

Title: Eclipse Community Forums
Subject: @possiblevalues annotation for ImpliedElementProperty Author: chandrika siva Date: Wed, 02 September 2015 19:14
Hi,

Is there any way to use
@possiblevalues( property = "/path/to/a/ImpliedElementProperty")
on a ImpliedElementProperty. For example I have

@Type(base = Name.class)
ImpliedElementProperty PROP_AUTHOR_NAME = new ImpliedElementProperty(TYPE, "AuthorName");

where name.class has 3 Value<String> - firstName, middleName, and lastName. I want to create a CONTACT_NAME property which is also of the same base type Name.class and make it refer to author names. But I am not able to use @possiblevalues to say that the CONTACT_NAME should be a valid AUTHOR_NAME

Thanks
Chandrika
[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]

Back to the top