Class TargetReference.TargetReferences
java.lang.Object
de.espirit.firstspirit.access.editor.value.TargetReference.TargetReferences
- Enclosing interface:
- TargetReference
TargetReference factory methods.
- Since:
- 4.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic TargetReference
Create a new empty TargetReference.static TargetReference
newInstance
(@Nullable Language language, IDProvider reference, @Nullable String remoteName) Create a new TargetReference.static TargetReference
newInstance
(Language language) Create a new empty TargetReference.static TargetReference
newInstance
(Language language, String uid, IDProvider.UidType uidType, String remoteName) Create a new TargetReference.
-
Method Details
-
newInstance
Create a new empty TargetReference.- Returns:
- a new empty TargetReference
- Since:
- 4.2
-
newInstance
Create a new empty TargetReference.- Parameters:
language
- theLanguage
to set for the createdTargetReference
- Returns:
- a new TargetReference for the specified
Language
- Since:
- 4.2
-
newInstance
public static TargetReference newInstance(Language language, String uid, IDProvider.UidType uidType, String remoteName) Create a new TargetReference. On the new instance set should be called with an instance ofIDProvider
.- Parameters:
language
- theLanguage
to set for the createdTargetReference
uid
- the reference UIDIDProvider.setUid(String)
,IDProvider.getUid()
uidType
-IDProvider.UidType
remoteName
- the symbolic remote project nameRemoteProjectConfiguration
- Returns:
- TargetReference a new TargetReference container
- Since:
- 4.2
-
newInstance
public static TargetReference newInstance(@Nullable @Nullable Language language, IDProvider reference, @Nullable @Nullable String remoteName) Create a new TargetReference.- Parameters:
language
- theLanguage
to set for the createdTargetReference
reference
- the IDProvider to be referencedremoteName
- the symbolic remote project nameRemoteProjectConfiguration
- Returns:
- TargetReference a new TargetReference container
- Since:
- 4.2
-