com.bugvm.apple.addressbook.ABPersonRelatedNameLabel Maven / Gradle / Ivy
The newest version!
/*
* Copyright (C) 2013-2015 RoboVM AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.bugvm.apple.addressbook;
/**/
import java.io.*;
import java.nio.*;
import java.util.*;
import com.bugvm.objc.*;
import com.bugvm.objc.annotation.*;
import com.bugvm.objc.block.*;
import com.bugvm.rt.*;
import com.bugvm.rt.annotation.*;
import com.bugvm.rt.bro.*;
import com.bugvm.rt.bro.annotation.*;
import com.bugvm.rt.bro.ptr.*;
import com.bugvm.apple.foundation.*;
import com.bugvm.apple.corefoundation.*;
/* */
/**/
/* */
@StronglyLinked
/**/@Library("AddressBook")/* */
/**/public/* */ class /**/ABPersonRelatedNameLabel/* */
extends /**/ABPropertyLabel/* */
/**//* */ {
/**/
/* */
/**/static { Bro.bind(ABPersonRelatedNameLabel.class); }/* */
/**//* */
public static final ABPersonRelatedNameLabel Father = new ABPersonRelatedNameLabel("FatherLabel");
public static final ABPersonRelatedNameLabel Mother = new ABPersonRelatedNameLabel("MotherLabel");
public static final ABPersonRelatedNameLabel Parent = new ABPersonRelatedNameLabel("ParentLabel");
public static final ABPersonRelatedNameLabel Brother = new ABPersonRelatedNameLabel("BrotherLabel");
public static final ABPersonRelatedNameLabel Sister = new ABPersonRelatedNameLabel("SisterLabel");
public static final ABPersonRelatedNameLabel Child = new ABPersonRelatedNameLabel("ChildLabel");
public static final ABPersonRelatedNameLabel Friend = new ABPersonRelatedNameLabel("FriendLabel");
public static final ABPersonRelatedNameLabel Spouse = new ABPersonRelatedNameLabel("SpouseLabel");
public static final ABPersonRelatedNameLabel Partner = new ABPersonRelatedNameLabel("PartnerLabel");
public static final ABPersonRelatedNameLabel Assistant = new ABPersonRelatedNameLabel("AssistantLabel");
public static final ABPersonRelatedNameLabel Manager = new ABPersonRelatedNameLabel("ManagerLabel");
private static ABPropertyLabel[] values = new ABPropertyLabel[] {Work, Home, Other, Father, Mother, Parent, Brother, Sister, Child, Friend, Spouse, Partner, Assistant, Manager};
private ABPersonRelatedNameLabel(String getterName) {
super(getterName);
}
/**//* */
/**//* */
/**//* */
public static ABPropertyLabel valueOf(CFString value) {
for (ABPropertyLabel v : values) {
if (v.value().equals(value)) {
return v;
}
}
throw new IllegalArgumentException("No constant with value " + value + " found in "
+ /**/ABPersonRelatedNameLabel/* */.class.getName());
}
/**/
/**
* @since Available in iOS 2.0 and later.
* @deprecated Deprecated in iOS 9.0.
*/
@Deprecated
@GlobalValue(symbol="kABPersonFatherLabel", optional=true)
protected static native CFString FatherLabel();
/**
* @since Available in iOS 2.0 and later.
* @deprecated Deprecated in iOS 9.0.
*/
@Deprecated
@GlobalValue(symbol="kABPersonMotherLabel", optional=true)
protected static native CFString MotherLabel();
/**
* @since Available in iOS 2.0 and later.
* @deprecated Deprecated in iOS 9.0.
*/
@Deprecated
@GlobalValue(symbol="kABPersonParentLabel", optional=true)
protected static native CFString ParentLabel();
/**
* @since Available in iOS 2.0 and later.
* @deprecated Deprecated in iOS 9.0.
*/
@Deprecated
@GlobalValue(symbol="kABPersonBrotherLabel", optional=true)
protected static native CFString BrotherLabel();
/**
* @since Available in iOS 2.0 and later.
* @deprecated Deprecated in iOS 9.0.
*/
@Deprecated
@GlobalValue(symbol="kABPersonSisterLabel", optional=true)
protected static native CFString SisterLabel();
/**
* @since Available in iOS 2.0 and later.
* @deprecated Deprecated in iOS 9.0.
*/
@Deprecated
@GlobalValue(symbol="kABPersonChildLabel", optional=true)
protected static native CFString ChildLabel();
/**
* @since Available in iOS 2.0 and later.
* @deprecated Deprecated in iOS 9.0.
*/
@Deprecated
@GlobalValue(symbol="kABPersonFriendLabel", optional=true)
protected static native CFString FriendLabel();
/**
* @since Available in iOS 2.0 and later.
* @deprecated Deprecated in iOS 9.0.
*/
@Deprecated
@GlobalValue(symbol="kABPersonSpouseLabel", optional=true)
protected static native CFString SpouseLabel();
/**
* @since Available in iOS 2.0 and later.
* @deprecated Deprecated in iOS 9.0.
*/
@Deprecated
@GlobalValue(symbol="kABPersonPartnerLabel", optional=true)
protected static native CFString PartnerLabel();
/**
* @since Available in iOS 2.0 and later.
* @deprecated Deprecated in iOS 9.0.
*/
@Deprecated
@GlobalValue(symbol="kABPersonAssistantLabel", optional=true)
protected static native CFString AssistantLabel();
/**
* @since Available in iOS 2.0 and later.
* @deprecated Deprecated in iOS 9.0.
*/
@Deprecated
@GlobalValue(symbol="kABPersonManagerLabel", optional=true)
protected static native CFString ManagerLabel();
/* */
}