4 * License : The MIT License
5 * Copyright(c) 2013 MikuToga Partners
8 package jp.sfjp.mikutoga.vmd.model;
10 import java.text.MessageFormat;
15 public class IkSwitch {
17 private static final String MSG_TXT =
21 private String boneName = "";
22 private boolean valid = true;
38 public String getBoneName(){
44 * @param boneNameArg ボーン名
45 * @throws NullPointerException 引数がnull
47 public void setBoneName(String boneNameArg) throws NullPointerException{
48 if(boneNameArg == null) throw new NullPointerException();
49 this.boneName = boneNameArg;
57 public boolean isValid(){
63 * @param validArg 有効ならtrue
65 public void setValid(boolean validArg){
66 this.valid = validArg;
72 * @return {@inheritDoc}
75 public String toString(){
77 msg = MessageFormat.format(MSG_TXT, this.boneName, this.valid);